hi,
please, i want to know how can i retrieve header cell in getCell method in Custom Column Class
Thank you for reply, it`s working fine
Hi ueldeep,
You should store the header cell in the custom column definition class so you can access it later. When getHeaderCell is called and you create the header cell, store that instance in a private property. Then inside getCell where you are handling the Checkbox check event, you can use that private property to set the header checkbox. I assume you need the header checkbox because you need to turn it off if a user unchecks one of the rows.
Hi,
please, i need your reply
Thanks for reply i make check boxes column and there is check box all in header cell, i want when unchecked one of row check all effect, so i need to get header cell in get cell
The header cell is not exposed to the getCell method. You should override the getHeaderCell method and use that to work with the header cell in your custom column class.