Thank you very much @Philippe. I learned a lot from your comments above.
I have one question for you:
If the original component had a prop that was âunexposedâ, would it be able to pass a reference to that prop in react? This would be useful incase I would like to extend the component myself by binding it to a custom function for a button or so.
Another question would be:
Would it be possible to write callbacks in Dash for function triggers? Like OnClick etc? If yes, how should I define the proptype such that Dash would understand it?
Hi @Philippe:
I tried implementing your comments. If I donât set the state the code isnât working. As in everything is rendering fine when I directly use the props, but clicking any âmoveâ buttons isnât triggering the onMove callback. I will PR the updated code soon.
I am trying to use the dash_dual_listbox component to create a list box style similar to what is seen in
the react component example seen in the example here however I cannot get it even close to look like this:
I am more of a python programmer than a web designer. Is there some example python code to generate a dash
page that looks like this? I am finding that there is not a lot of example code usage on the dash_dual_listbox on
the web.
hey great component, itâs really useful for my project so thank you first of all!
wanted to ask if you know whether itâs possible to remove the right toolbar somehow since I donât need it for my application.
hope you will read this since its been over 3 year but anyways thanks for the component xD
which gets called only once when the page first loads, but i would like it to be called whenever any of the 4 buttons moving left to right or whatever are pressed (ie, whenever the right selected list changes) but I cannot for the life of me figure out how to do this, any help would be amazing. thanks -
I love this component, but I canât figure out how to use the Selected values in a callback. It keeps getting returned as an empty list. Has anyone else figured out a solution for this?
You can use AntdTransfer in my dash components library fac ( GitHub - CNFeffery/feffery-antd-components: Dash + Antd = đ ), install it via pip install feffery-antd-components, import it via import feffery_antd_components as fac, here is a simple demo: