Class WorkBook.UI

UI

Class Summary
Constructor Attributes Constructor Name and Description
 
WorkBook UI Based all functionality comes under this module

Method Summary

Class Detail

WorkBook.UI()
WorkBook UI Based all functionality comes under this module
require('WorkBook').UI

Method Detail

  • <static> WorkBook.UI.closeWBDialog()
    The method will close the WorkBook MDI if it is already opened.
  • <static> WorkBook.UI.init()
    Setup the Drag functionality to the workbsheet
  • <static> WorkBook.UI.openDependencyGraphMDI()
    The method will openup the blank Dependancy Graph MDI with prepopulated dependancies.
  • <static> WorkBook.UI.openExplanationGraphMDI()
    The method will openup the blank Explanation Graph MDI with no data for explanation.
  • <static> WorkBook.UI.openSubFolder(parentFolderId)
    The function opens the modal panel for selecting the files and folders in the folderId provided
    Parameters:
    {integer} parentFolderId
    The foder in which the details have to be presented.
  • <static> WorkBook.UI.openWBDialog()
    WorkBook Dialog is a single instance MDI, The method will make ajax request for the items in the root folder id for the user, The user root folder id is saved in the hidden input $('#rootFolderId'), on Ajax Call back it calls WorkBook.UI.setUpWBDialog
  • <static> WorkBook.UI.searchInWBDialog(the)
    Search in the Work Book List items and updates the list of items in the folder/file list by filtering with the provided sting.
    Parameters:
    {String} the
    search string to filter out the folder and the file name.
  • <static> WorkBook.UI.setUpGroupListItems(searchtext)
    The method will update the UI by applying the searchText Filter and reRender entire List in the UI.
    Parameters:
    {String} searchtext
    The search Text the user provided.
  • <static> WorkBook.UI.setUpWBDialog(parentId, result)
    The method will setUp the Modal dialog for listing the Select workbook or subfolders with call back function for all the buttons. This method is called by WorkBook.UI.openWBDialog on Ajax Call Back,
    Parameters:
    {integer} parentId
    The folder id in which the current view is.
    {Object[]} result
    The list of items of the current folder.
  • <static> WorkBook.UI.setUpWBListItems(parentId, result, searchtext)
    The method will update the UI by applying the searchText Filter and reRender entire List in the UI.
    Parameters:
    {integer} parentId
    The folder id in which the current view is.
    {Object[]} result
    The list of items of the current folder.
    {String} searchtext
    The search Text the user provided.