JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › Custom Command Column in React › Reply To: Custom Command Column in React
January 29, 2021 at 7:29 am
#101400
hristojqwidgets
Member
Hello Brian Nicholls,
It seems the binding to this happens at an inappropriate time.
I would like to suggest you look at this demo:
https://www.htmlelements.com/react/demos/grid/editing-command-column-custom/
You could try to use this approach for your case.
Also, I would like to suggest you try to change declaration from const
to let
option only to try:
let [showWarehouseId, setShowWarehouseId] = useState(0);
Best Regards,
Hristo Hristov
jQWidgets team
https://www.jqwidgets.com