Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:import_methods [2010/02/07 09:48] tony |
wiki:import_methods [2012/04/02 07:14] tony |
||
---|---|---|---|
Line 18: | Line 18: | ||
<code javascript> | <code javascript> | ||
- | jQuery("#grid_id").jqGridExport(options); | + | jQuery("#grid_id").jqGrid('jqGridExport', options); |
</code> | </code> | ||
Where | Where | ||
Line 36: | Line 36: | ||
<note>When we make the export we export only the grid configuration and the related events. We do not export the navigator. In order to do this you should manually construct the navigator in the jqGridImport using the importComplete event - see below</note> | <note>When we make the export we export only the grid configuration and the related events. We do not export the navigator. In order to do this you should manually construct the navigator in the jqGridImport using the importComplete event - see below</note> | ||
+ | |||
==== Importing ==== | ==== Importing ==== | ||
This method reads the grid configuration according to the rules in options and constructs the grid. When constructing the grid for first time it is possible to pass data to it again with the configuration. This is done with jqGirdImport | This method reads the grid configuration according to the rules in options and constructs the grid. When constructing the grid for first time it is possible to pass data to it again with the configuration. This is done with jqGirdImport | ||
<code javascript> | <code javascript> | ||
- | jQuery("#grid_id").jqGridImport(options); | + | jQuery("#grid_id").jqGrid('jqGridImport', options); |
</code> | </code> | ||
Where | Where |