I have a grid with a header containing columnheaders with html.
I need to get the html inside some of these columns. I found the method mygrid.hdr.rows[row_index].cells[cellindex] to get the td so you can read the td content.
The problem is that the grid is split and I need to get to the columns to the right of the split. mygrid.hdr.rows[row_index] only returns the columns to the left of the split.
Is there a way to access the columnheaders on the right of the split so I can get to the innerHTML of those columnheaders?
In the same way I need to be able to set complex content in the header after the split.
In fact there’s an image with a link, next to some text in that columnheader and I need to change the image of that link. So it’s getting complex content from the header after split, changing it and setting it back after the split.
I was a bit confused because grid.hdr also gave me the left part, but in fact it gives the whole header ignoring the split and counting spanned columns as 1 column.
Thank you!
Kind regards,
Arno.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan