Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kamaraju.prathi@tcs.com on Feb 23, 2009 04:23
open dhtmlx forum
multiple column addition

Genearlly i define the XML AS
<?xml version="1.0" encoding="UTF-8"?>
<rows>
    <head>
        <column width="6" type="ro"> Bag No</column>
        <column width="5" type="ro"> Group</column>
        <column width="20" type="ro">Component</column>
        <column width="10" type="ro">Date Of Expiry</column>
        <column width="10" type="ro">Issue Quantity</column>
        <column width="10" type="ed">Major </column>
        <column width="10" type="ed">Minor</column>
        <column width="25" type="wbut">Cross Matched By</column>
        <column width="0" type="ro"></column>
        <settings>
            <colwidth>%</colwidth>
        </settings>
    </head>
</rows>

 

sO IN SUCH SENARION HOW WILL GIVE THE COLUMNS IN ASINGLE COLUMN

 

Answer posted by Support on Feb 23, 2009 06:19
While initial grid's structure can be defined in XML , adding new column can be done through js API only. 
http://dhtmlx.com/docs/products/dhtmlxGrid/samples/rows_columns_manipulations/pro_grid_cols.html?un=1235399672000