Hi team,
I am having question. The requirement is checkbox and button and pass it dynamically to the cells
/////input to cell grid
{
name:checkbox,
id:1}
{name:button,
id:1}
////
this will be the input to the cell.
now if i get the name as checkbox and button i have to add checkbox and button the customizecell and both checkbox and button should show the them in that grid.
what i am facing is when i give this i get only last one like only button is showing and the checkbox is mapped with the value but the checkbox is now showing how to achieve this one.
Hello!
Thank you for writing to us.
We suppose that if you are adding a checkbox/button into the "id" column, it happens because of the same "id" values.
Please see the following example with different "id" values: https://jsfiddle.net/flexmonster/w4ke3qmo/.
Hope this works fine for you.
Best Regards,
Maksym
thanks
How do i add the functionality in react for this buttons i tried the add eventlistner but not able to pass the onchange method to it
i was adding new column and checkbox and this once it is mapped in datasource.data and the after that if i unselect the column name from the fields and then once it is unselected and selected again the add eventlistner started to work
i tried the reportcomplete but still it dosent render once it is mounted
can u help me solve this issues
Hi!
Thank you for your question.
We have already answered your very similar query in this thread:
https://www.flexmonster.com/question/add-onchange-events-on-buttons-in-columns/
Please let us know if that answer is helpful.
Best Regards,
Maksym