EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Harrison on October 11, 2011, 10:53:10 PM



Title: Binding JSON object to Grid all on client side.
Post by: Harrison on October 11, 2011, 10:53:10 PM
Hi friends,
is there a way where I can construct my JSON all in Javascript (client side), and then bind to an EZUI grid and display it? i.e. no server call for JSON

Cheers!
Harrison


Title: Re: Binding JSON object to Grid all on client side.
Post by: pacific202 on October 12, 2011, 07:59:54 AM
Funny, I just came to the forum to ask the exact same question.  :)

I'd like to initialize a PropertyGrid based on an object I already have in memory on the client side.  I have to call the Dialog with this grid on it several times and I don't want to make the user wait every time to fetch the same data from the server.

I was also looking at the ComboTree this morning, and that seems like something I'd much rather construct on the client side than in my RDBMS.