I have a rich:dataGrid that is bound to my backing bean. The dataGrid is succefully be rendered using the ArrayList, and the setXXX(HtmlDataGrid dataGrid) function in my bean is being called where I am saving the reference to the dataGrid to a private data member variable.
I have one column that contains only checkboxes and I want to allow the user to select/deselect them and then click my APPLY commandButton and call the bean's save() function.
So now I am in the save() function and have access to the dataGrid through my private data member variable, but I can't figure out how to get the data for the checkboxed column.
As far as I can guess you have "Save" button out of dataGrid. rich:dataGrid handles its children internally so it's not so easy to get value of concrete component for concrete row not being in that row right now. The best way to handle that is to bind checkbox values to model object and process them when saving