I have a WHDG with 3 levels. I have an unbound checkbox column for each row in the grid. If I click the checkbox and the band has children, I would like to set all of the child row checkboxes to be checked. Also if I uncheck a parent band, all of the child rows should be unchecked as well.
Hi jdymond,
That is because get_item() is not a member of those event args. If memory serves me correctly, I believe it has get_cell() or getCell(). If you want to find everything, I suggest putting a debugger; statement in the handler and examining the methods available.
regards,David Young
I am getting an error on the WHDG's CellValueChanged Event.
function CellValueChanged(sender, eventArgs) {var isChecked = false;isChecked = eventArgs.get_item().get_row().get_cell(0).get_element().children[0].checked;}
ERROR: eventArgs.get_item is not a function.