Hello,
I have 20 jqGrids on page. These grids are set to datatype: 'local' to prevent data loading on initialization ( I fire data loading on user request).
The problem is, that the initialization of all grids takes about 3s – I measured time in gridComplete function.
What I need is to show the page to user before this initialization or fasten grid initialization.
Can You please suggest me any solution to this? I'm lost…
Grid code example:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
jQuery(document).ready(function() {<br /> <br /> jQuery("#EmailsGrid").jqGrid({<br /> sortable:true,<br /> jsonReader: {<br /> userdata: 'UserData'<br /> },<br /> xmlReader: {<br /> userdata: 'UserData'<br /> },<br /> url: '/CRM/Email/EmailList',<br /> datatype: 'local',<br /> mtype: 'POST',<br /> postData: {filter : '_fn-CRMEmail_Account_FK_cmpop-EqualTo_val-'+21286+'%7cAND%7c'},<br /> colNames: ['ID','Předmět','Od','Pro','Vytvořen','Přiřazen k','Typ','Status','Priv |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top