PDA

View Full Version : create ExtJs grid from Json



mshree290
12 Sep 2014, 2:40 AM
Hi All,
I am new in Sencha.
I am retrieving data from RavenDB database & converting it into JSON format as bellow:

public static string GetData(List<ResultClass> resList)
{
string jsonString = Raven.Imports.Newtonsoft.Json.JsonConvert.SerializeObject(resList);
return jsonString;
}

I have to display output of GetData() function in ExtJs Grid.
Please give me proper way.

Thanks in advance!!!

Gary Schlosberg
12 Sep 2014, 3:56 PM
Here's an example that might help:
https://fiddle.sencha.com/#fiddle/aar

mshree290
26 Sep 2014, 3:44 AM
its really helpful,sory for late replay