Hi sir
i am using dhtmlx grid.i have manually define set header and attached hearder.now i want to define header in xml.dynamically header should be change if i cal different xml.
my dhtmlx grid code is:
mygrid1 = new dhtmlXGridObject(‘gridbox1’);
mygrid1.selMultiRows = true;
mygrid1.imgURL = “codebase/imgs/”;
mygrid1.setHeader(header);
mygrid1.attachHeader(attachHeader);
mygrid1.setInitWidths(“80,60,100,60”);
mygrid1.setColAlign(“left,center,center,center”);
mygrid1.setColTypes(“txt,txt,txt,txt”);
mygrid1.enableEditEvents(false, false, false);
mygrid1.init();
mygrid1.setSkin(“dhx_skyblue”);
mygrid1.load(“test.xml”);
my xml is :
Top Branches
#cspan
#cspan
#cspan
after that i run this file nothing should display can you provide the proper solution as soon as possible
plz provide the solution of the align ment issue.
code is this.
Top-Branches #cspan #cspan #cspan
if i run my xml then it gives value in the left means it will consider separte first column display in the center .but i want that values in the center of the all cloumn means Top branches comes in the center of the width column .
please provide the solution as soon as possible
Unfortunately the issue cannot be reconstructed locally.
If issue still occurs - please, provide us with a complete demo where the issue can be reconstructed.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan