Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lagnajeet Sahu on Mar 11, 2009 02:58
open dhtmlx forum
I get 2 horizental scrolls when treegrid in split mode

Hi,

I am using licensed version of dhtmlxtreeGrid control in split mode. When I say .,

treeGrid.splitAt(1);

in the init I am setting the treeGrid for split after the 1st column.

Now the problem here is , I get 2 horizental scrolls. I do not want horizental scrollbar to be shown for the 1st column. How can I remove that ? This is blocker issue for me.

Regards,
Lagnajeet Sahu
Answer posted by dhxSupport on Mar 11, 2009 05:13
What version of treeGrid do you use? Please contact support@dhtmlx.com and provide sample where this issue occurs.
Answer posted by Lagnajeet Sahu on Mar 11, 2009 05:40

Hi,

This problem is present in both version 1.6 and 2.0. I am getting a disabled horizental scrollbar for the 1st column. I do not want this scroll bar to be shown. When i am creating the footer for global values in the treegrid i am unable to see the text that i have set.

attachFooter: function()

{

colspan = "#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,#cspan,";

//#cspan,#cspan,#cspan,#cspan,#cspan,"

total = "Some Text,";

sum1 = "Label 3,";

sum2 = "Label 4";

footerStr = total + colspan + sum1 + sum2;

_treeGrid.attachFooter(footerStr);//

},

I call this function after the init of the treeGrid

this.attachFooter();

I am not creating the treeGrid from xml. I am creating it from an array.

Regards,

Lagnajeet Sahu

 

Attachments (1)
footer.JPG10.65 Kb
Answer posted by dhxSupport on Mar 11, 2009 06:54
splitAt() method should be executed befor init() method but after attachFooter() method. If issue still occurs please contact support@dhtmlx.com and provide sample where we can reprodue this problem.