How to chang lang on header

First when in load i set header like this “mygrid.setHeader(‘Column A, Column B’);” and i want to change “Column A, Column B” to “11111,22222” when i click on some button( No change page ) .I can do yes or no? ( if yes, please show me )

This my code. It no work









You can use setColumnLabel command to set new value of header

    function SWiSHlang(){
       mygrid.setColumnLabel(0,“11111”);
       mygrid.setColumnLabel(1,“22222”);
    }