NullPointerException
NullPointerException

Reputation: 3814

Add new option to jqgrid

Is it possible to add your own option to jQgrid,

I would like to add an option lazyLoad

 jQuery("#list").jqGrid({
    url:'example.php',
    // my option
      lazyload: false,

Upvotes: 1

Views: 102

Answers (1)

NullPointerException
NullPointerException

Reputation: 3814

Got it working by extending the plugin

jQuery.extend(jQuery.jgrid.defaults,
    {lazyLoad : false});

Upvotes: 1

Related Questions