How to get jQuery EasyUI datagrid and treegrid to load in background?

Posted by f1r3br4nd on Stack Overflow See other posts from Stack Overflow or by f1r3br4nd
Published on 2012-06-19T16:11:37Z Indexed on 2012/11/17 17:01 UTC
Read the original article Hit count: 2559

Filed under:
|
|

I am trying build a jQuery EasyUI datagrid or treegrid out of a large query. Apparently the database takes long enough to respond that I get the "a script on this page may be busy" popup. Moreover, the entire browser (Firefox) locks up while it's waiting. I thought the whole point of AJAX was to load stuff unobtrusively.

I've looked through the tutorials and documentation for EasyUI but it's not clear to me how to force a datagrid to load in the background. There are some similar unanswered questions asked on the EasyUI forums.

Do I need to override the loader property of datagrid? If so, does anybody know where I can get a non-obfuscated version of the default loader function so I can be sure I understand what it's supposed to do before I write my own?

Also, if I need asynchronous datagrids and datatrees with sorting and filtering features, is jQuery EasyUI the wrong library for doing this simply and cleanly? Is there some alternative jQuery library people would recommend?

Thank you.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about datagrid