Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Turik Campbell on Jan 07, 2010 05:59
open dhtmlx forum
Followup: When exporting the Grid to CSV, How can I exclude Row Number column, etc (cont)

This is a followup question to previouse question, http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=13786&a=22487.
Since I do not see a way to append to the original, I posted a new question..

Support,

Excluding the row number column using the following code:

'grid.enableCSVAutoID(false);'

does not work. After further research, it appears that the aforementioned api is used for loading data only.

In general, when defining the grid, should the developer include row id field as part of the definition.. as I really do not have

the luxury of going back to include it.. I would appreciate some other alternatives... ?

Example .xml snippet:

:

<column id="row number" width="0" type="ro" align="left" sort="int">row number</column>

<column id="column 1" width="50" type="ro" align="left" sort="int">column 1</column>

<column id="column 2" width="50" type="ro" align="left" sort="int">column 2</column>

Best,
Turik

Answer posted by Alex (support) on Jan 11, 2010 06:31