Grid Client Side API





Client side api is called by doing $('#gridId').data('api') and an api method

  • .load({ reset: true }) - will bring the grid back to the initial state defined in the markup
  • .load({group, sort, params, oparams}) - loads the grid with the specified grouping rules, sorting and additional parameters, if a property is omitted than the grid won't change it's state for that property; for example calling .load({group: ['Food', 'Location']}) will change the grouping but won't affect the current sorting rules
  • .clearpersist() - clears the persistence data

Events




Comments