Documentation

loadNext

sends a request to load the specified number of records to the end of the clientside dataset or to the specified position

void loadNext(number count,number start,function callback,string url,boolean now);

Parameters

countnumberthe number of records fetch
startnumberthe start position to load data from
callbackfunctionthe callback function
urlstringthe data url
nowbooleanspecifies whether the incoming data request should be satisfied immediately. If it's set to true the datathrottle property will be ignored.

See also

Example

//without callback
grida.loadNext(10,0,null,"data/data.php");
 
//with callback
gridb.loadNext(50,900,function(){
    this.showItem(903);
}, "data/data_dyn.php");

Back to top