insert hidden rows in dhtmlxgrid from xml

Hi All,

i am trying to add some hidden rows in dhtmlx grid when i send xml as response.
please suggest me any row tag attribute using which i can send hidden rows and later i can show when i call any function.

thanks,

Dinesh

Unfortunately such feature is not available

Hi,
may I offer some help? I’ve had the same problem, not believing that there isn’t a solution for XML input. :confused:

But I fixed it this way, adding an attribute hidden=“true” to each row that should be hidden.

function hide_rows() {
   var rows = grid.getRowsNum();
   for (i=0; i<rows; i++) {
    var rowId = grid.getRowId(i);
    var hidden = grid.getRowAttribute(rowId,"hidden");
     if (hidden == 'true')
      grid.setRowHidden(rowId, true)
   }   
}

//and when loading the data :
grid.load("load_url.xxx" , function() {
           hide_rows();
});

Kind regards
Daisy