Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to change the header of the ListGrid from javascript

    I am using SmartClient_v111p_2017-07-03_LGPL in IE11.
    I have not been able to determine how to change the Header text of a field in a listgrid. I have tried:

    Code:
    lg.header.buttons[0].title = (check ? 'Deselect All' : 'Select All');
    lg.getFields()[0].title = (check ? 'Deselect All' : 'Select All');
    lg.refreshCell(-1, 0);
    The program detect the change, but the change is not displayed

    #2
    listGrid.setFieldTitle() will do it...

    Comment


      #3
      That worked, I missed that function.

      Comment

      Working...
      X