blinking when add mygrid.atachheader

Hi i reload xml data in grid each 30sec
When i load grid i atachHeader with #text_filter for search in column

i refresh grid by refresh_function when i call loadXML again and set
setTimeout(refresh_function, 30000);

but when i refrefresh data atachHeader don’t show and i call mygrid.atachHeader again
like this

[code]function refresh_function () {

mygrid.loadXML(“test.xml”);
mygrid.atachHeader("#text_filter ");
}[/code]

and when refreshing grid is blinkig because atachHeader hide and show again

how i can did that atachHeader don’t hide ?

?
and how i can save data input in search filter when i reload the grid …

Please, try to call the clearAll() method before loading data in your grid:
mygrid.clearAll();
mygrid.loadXML(“test.xml”);

val=mygrid.getFilterElement(ind).value // stores the value of the filter input.

sorry i use updatefromxml and it’s solve both problem

but i have new problem, when i added rows in the grid by updatefromxml - new rows added in the bottom of grid, how i can did that new rows added on the top of grid ?

sortRows function not working after update with date fromat, i use yyyy.mm.dd hh24:mi:ss format but this function don’t sorting data

?

You may try to use the moveRow() method:
docs.dhtmlx.com/doku.php?id=dhtm … ct_moverow