Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ulrich Blasum on Nov 25, 2009 10:38
open dhtmlx forum
splitAt - Further questions

I have two more problems that occur only when using splitAt in a treegrid. Perhaps you can give me some work-around:

1) Height of Rows:

The rows of the 2-level in the tree do not have the same hight in the left and the right grid.  (I user multiline-text in the left part of the grid)

2) Reloading the Grid after User action:

Code:

// Itialization:

mygrid1.loadXML("grid1.xml");

// funcktion called on some user action

function onUserAction() {

mygrid1.clearAll(true);

mygrid1.loadXML("grid2.xml");

}

After onUserAction() the contets of grid2.xml should show on the screen. Actually the left split remains unchanged and in the right split the head-row ist not cleared.

I would appreciate any fix or workaround for these problems.

Ulrich Blasum

Answer posted by dhxSupport on Nov 27, 2009 01:29
1) Unfortunately we cannot reproduce this issue locally. Please check example here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/09_frozen_columns/02_pro_split_multiline.html
2)  After applying of the split mode to the grid, it is not possible to recreate the grid structure (reload the grid with a different structure). Such grid can be only destructed.
http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:split_mode