Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Welekar on Apr 28, 2008 04:00
open dhtmlx forum
frozen column

Hi,
I am using splitAt functionality in our grid.
I want to freeze to left columns.
When I tried , I am able to see only header and attach header rows with default skin.
The left part of grid is not visible.also body rows and cols are not visible.

on console I an getting this error

pa.style has no properties
pa.style.left=width+"px";

what is the possible defect in code?

Thanks.
Answer posted by Support on Apr 28, 2008 05:42
In which moment splitAt command was called.
The command need to be executed after grid structure initialized but before data loaded.
In case of initialization from js code splitAt command must be called after grid.init but before grid.loadXML command.
Answer posted by Welekar on Apr 28, 2008 08:22
Thanks.

This what my code is

mygrid.attachHeader('a,b,c,d');
mygrid.init();       
 mygrid.splitAt(2);


I just debug through js file . I found following data for pa field
pa                       "\n


                             "
nodeType                 3
nodeName               "#text"
localName                null
prefix                        null
namespaceURI          null
nodeValue                 "\n

Is it helpful for you to find the problem?
Plz help me out.
If  it takes too much time to find solution/bug ,Can I  fabricate  the code for now?how?

                                 

Answer posted by Support on Apr 29, 2008 04:07
Unfortunately problem still can't be reconstructed.
If problem still occurs for you - please provide any kind of sample where it can be reconstructed ( you can send it directly to support@dhtmlx.com )