Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Paulo Gil on Oct 20, 2008 02:58
open dhtmlx forum
SQL Server Example

Do you have one example of the one datagrid that change the row and cell and load in a datagrid for the one dataset of the visual studio 2008 that have been make in XML?

regards
Answer posted by Support on Oct 20, 2008 04:54
Unfortunately there is no exactly the same sample as requested. 
The component is fully clientside, so it can work with ane server side backend, it doesn't contain any special server side code for vs2008
If you interested - we can provide a sample of dataprocessor usage with .Net app ( it requires a pro version of grid, so if you need such sample - please contact us directly at support@dhtlmx.com and provide your ref. number )
Answer posted by Paulo Gil on Oct 20, 2008 05:43

Just help me in that.

For that xml what code i have to make to i see the datagrid?

 

 <?xml version="1.0" standalone="yes" ?>

- <NewDataSet>
- <Imprensa>
  <XML_F52E2B61-18A1-11d1-B105-00805F49916B><imprensa ficheiro="file27.jpg" tipo="Eventos" htmlcod="gregerger" resumo="freggergerg&#x0D;&#x0A;gergregergrrfegerg&#x0D;&#x0A;gregerg" idimprensa="27"/></XML_F52E2B61-18A1-11d1-B105-00805F49916B>
  </Imprensa>
  </NewDataSet>
Answer posted by Support on Oct 21, 2008 02:46
Please, have a look at the article about setting custom xml formats in the documentation:

    http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Loading_data_in_grid.html#grid_art_loadingdata

The provided xml is similar to "xmlA" format, except the row tag should has id attribute.

It will be possible to load (xmlA format) the following xml:

- <rows>
  <row id="XML_F52E2B61-18A1-11d1-B105-00805F49916B" ficheiro="file27.jpg" tipo="Eventos" htmlcod="gregerger" resumo="freggergerg&#x0D;&#x0A;gergregergrrfegerg&#x0D;&#x0A;gregerg" idimprensa="27"/>
  </rows>