Change Header Label on HTMLXGrid

Hi,



when loading xml on HMTLXgrid, i have defined label of header in xml file as below



–xml code





No.







in other side, i want to change the label “No.” as “Nomor” after loadxml using SetHeader. But, it’snot working. How to change this label ?



thanx

There is setHeaderCol(column_index,label) method which you can try to use.

For example, the first header cell will be “Yes” when the following approach is carried out:

    grid.setHeaderCol(0,“Yes”);

i tried put grid.setHeaderCol(0,“Yes”) in my code.
but, i get error _childIndexes is null or not an object. Would you please give me a sample file.

Please check attached sample.
Please beware that operation can be executed only after grid.init  only ( when header structure defined and rendered ) , the error which you mentioned can appear if header structure not rendered or incorrect column index was used.



1205235584.zip (89 KB)

ok thanq. done well.