Obsolete Methods

The following methods, all part of jqGrid up to and including version 3.1, have been removed starting with version 3.2, replaced by a more generic method.

'Get' Methods Returns Use Instead
getUrl the current url from options array getGridParam("url")
getSortName the name of last sorted column getGridParam("sortname")
getSortOrder the last sorted order  
getSelectedRow the id of the selected row, null if row is not selected getGridParam("selrow")
getPage the current page number getGridParam("page")
getRowNum the current number of requested rows getGridParam("rowNum")
getDataType the current datatype getGridParam("datatype")
getRecords the current number of records in grid. getGridParam("records")
getMultiRow array of id's of the selected rows when multiselect options is true. Empty array if no selection. getGridParam("selarrrow")

'Set' Methods to set Use Instead
setUrl a new url, replacing the older. setGridParam({url:newvalue})
setSortOrder a new sort order setGridParam({sortname:newvalue})
setPage a new page number setGridParam({page:newvalue})
setRowNum a new number of requested rows setGridParam({rowNum:newvalue})
setDataType a new datatype setGridParam({datatype:newvalue})



  Last Updated: 9/28/2008 | © Tony's jqGrid - a jQuery Plugin, 2010