Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Cesco on Feb 13, 2008 03:45
open dhtmlx forum
subgrid height

When I add rows into the subgrid the height of subgrid does not increase and no scroll appears.
After refreshing the page (F5) and expanding the subgrid its height is increased corresponding to the number of rows.
My question is how can I get the height of subgrid increased immediately after adding rows into the subgrid?
Answer posted by Support on Feb 13, 2008 05:02
add next line after add row command
    sub.addRow(...
    sub.callEvent("onGridReconstructed",[])
Answer posted by Cesco on Feb 13, 2008 05:38
I added
sub.callEvent("onGridReconstructed",[])
after
addRow(...)
but it did not change anything... :(
Should I use any parameters in a line of code you gave me?
Answer posted by Support on Feb 13, 2008 05:58
Please try to use attached js file instead of original one - it must resolve problem automatically ( no additional code required )
Attachments (1)