Class NexcelUIDataService

NexcelUIDataService

Class Summary
Constructor Attributes Constructor Name and Description
 
A Class to handle All Kind of Data Services Associated with Nexcel Sheet

Method Summary

Class Detail

NexcelUIDataService()
A Class to handle All Kind of Data Services Associated with Nexcel Sheet
require('NexcelUIDataService')

Method Detail

  • <static> {Integer} NexcelUIDataService.createGroup(name,, sheetId,, loc,, formula,, colSize,, color,, colNameAvailable,, colNameList,, groupTitle)
    A Synchronous process. With the given data the group will be created in the server side and Ajax responds with the group id, This id is used throughout globally.
    Parameters:
    name,
    sheetId,
    loc,
    formula,
    colSize,
    color,
    colNameAvailable,
    colNameList,
    groupTitle
    Returns:
    {Integer} groupId The unique identification for the group.
  • <static> {Void} NexcelUIDataService.deleteGroup(groupId)
    An Asynchronous process. Once the header of teh group in the UI deleted, it need to be updated in the server, the function does it.
    Parameters:
    groupId
    Thr group Id
    Returns:
    {Void}
  • <static> {Void} NexcelUIDataService.pinGroupHeader(groupObj)
    An Asynchronous process. Once the header of teh group in the UI is pinned it need to be updated in therver, the function does it.
    Parameters:
    groupObj
    Thr group Object which have the id, start column, end column, start row, end column etc...,
    Returns:
    {Void}
  • <static> {Void} NexcelUIDataService.renameGroup(groupObj)
    An Asynchronous process. It updates the server with the new name for the Group.
    Parameters:
    groupObj
    Thr group Object which have the id, start column, end column, start row, end column etc...,
    Returns:
    {Void}
  • <static> {Integer} NexcelUIDataService.storeGroupData(groupId, resultDataArray)
    An Asynchronous process. Once any group data is updated, then using this method, it can update the server also with the following results.
    Parameters:
    groupId
    Thr group Id
    resultDataArray
    [[][]] A two dimentional array of data.
    Returns:
    {Integer} groupId the Id of teh group which is updated.
  • <static> {Integer} NexcelUIDataService.updateGroupData(groupId, resultDataArray)
    An Asynchronous process. Once any group data is updated, then using this method, it can update the server also with the following results.
    Parameters:
    groupId
    Thr group Id
    resultDataArray
    [[][]] A two dimentional array of data.
    Returns:
    {Integer} groupId the Id of teh group which is updated.
  • <static> {Integer} NexcelUIDataService.updateGroupFormula(groupId,, formula,)
    An Asynchronous process. With the given formula for the group, It makes an aynchronous request and update the server with the new formula
    Parameters:
    groupId,
    formula,
    Returns:
    {Integer} groupId The unique identification for the group.
  • <static> {Void} NexcelUIDataService.updateGroupSize(group)
    A synchronous process. It creates a JSON object of teh given group Object, It calls teh server with the json data, so that the server will be in sync with the client side.
    Parameters:
    group
    Thr group Object which have the id, start column, end column, start row, end column etc...,
    Returns:
    {Void}
  • <static> {Void} NexcelUIDataService.updateGroupSorting(groupObj)
    An Asynchronous process. It updates the server with the sorting of the group with which column.
    Parameters:
    groupObj
    Thr group Object which have the id, start column, end column, start row, end column etc...,
    Returns:
    {Void}