Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Overview

Function

isPaginationSupported(recordStore, success, error)

Description

Checks if the given records store supports pagination or not.

Output

A JSON object containing the following text in 'message' element if the given table;

  • if supports pagination - returns "true"
  • if does not support pagination - returns "false"

Example

client.isPaginationSupported(“SampleRecordStore”, function(data) {
      console.log (data[“message”]);
}, function(error) {
      console.log(“error occured: ” + error[“message”]);  
});

Sample output

true

 

 

 

  • No labels