enableHeaderMenu(), data dissapear when turning cols visible

Hi, I have v.2.6 build 100722, I load a tree grid via XML:
mygrid.loadXML(arch);

then :
mygrid.attachEvent(“onXLE”, function(grid_obj,count){
grid_obj.enableHeaderMenu();
});

up to here everything works ok. When I hide a column from the context-menu works fine, but when I make it visible again the data below doesn’t appear.
any ideas?.

here’s a sample of the XML.

<?xml version="1.0" encoding="UTF-8"?> Pto de venta 0001 SUCURSAL 1 Total #rspan,Neto,Neto 25-CEREAL MIX2 MAX 0.00 0.00 000001-RODRIGUEZ LARRETA 0.00 0.00 Total 0.00 0.00

Somehting new.

in the onXLE event i do this:

var colNum=grid_obj.getColumnsNum();
for (j = 0; j < colNum; j++){
grid_obj.adjustColumnSize(j);
}

And now it works… :question:

Perhaps it’s a timing problem!?

no, I don’t think so, I didn’t define the columns widths in the xml… so I think that the grid has some issue with “columns without width - hidding and turning them visible again”. I Believe this is a bug.

Columns need to have some width assigned, if not using grid_obj.adjustColumnSize(j); then you need to provide some width values in configuration xml.

Thank you very much. But, I think that it would be very helpful if you make this clear in the documentation.