EasyUI Forum

General Category => General Discussion => Topic started by: shimon on August 17, 2012, 07:15:44 AM



Title: Is it possible to post data to a datagrid without using JSON?
Post by: shimon on August 17, 2012, 07:15:44 AM
I love the grid, I am trying to use it in a windows server environment.
Is there a way to extract data and populate the grid without the use
of JSON. I appreciate any help and support, and thank you in advance.


Title: Re: Is it possible to post data to a datagrid without using JSON?
Post by: anton.dutov on August 18, 2012, 12:10:02 AM
You can convert html table to datajrid see http://jeasyui.com/tutorial/datagrid/datagrid1.php

If you need populate table using ajax (without json), by example using xml/html
You can do it manually
1. ajax request to  /some-page/
2. parser response
3. put parsed data to datagrid/local data array etc.