Creative Writing

Documentation AppendGrid

Description
Documentation AppendGrid
Published
of 49
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  Documentation  API Summary Initial Parameters Column Parameters Me caption   type   isReinitRowsname   isDainitDatavalueloadcolumnsdisplay   app   i18ndisplayCss   inseidPrefixheaderSpan   remrowDragging   cellCssmovhideButtonsctrlAttrmovbuttonClassesctrlProp   get   hideRowNumColumn   ctrlCssget   rowButtonsInFrontctrlClassget   customGridButtonsctrlOptions   get   customRowButtonsinvisibleget   customFooterButtonsresizableget   nameFormatteruiOption   setdataLoadeduiTooltip   get   afterRowAppended   customBuilderget   afterRowInsertedcustomGetterget   afterRowSwapped   customSetterget   afterRowDragged   onClick shobeforeRowRemoveonChange   hideafterRowRemoved isCo   Initial Parameters caption  Type:  String Default:  null The text as table caption. Set null to disable caption generation. initRows Type:  Number Default:  3 The total number of empty rows generated when init the grid. This will be ignored if  initData is assigned. initData Type:  Array Default:  null  An array of data to be filled after initialized the grid. Example: ?  1 2 3 4 5 6 7 8 9 $(function() {   $('#tblAppendGrid').appendGrid({   columns: [   { name: 'Album', display: 'Album'   },   { name: 'Artist', display: 'Artist'   },   { name: 'Year', display: 'Year'   }   ],   initData: [   { Album: 'Album1', Artist: 'Artist1', Year: '2001'   },   { Album: 'Album2', Artist: 'Artist2', Year: '2003'   },   { Album: 'Album3', Artist: 'Artist3', Year: '2005'   }    10 11 12 13 14 ]   });   });   columns Type:  Array Default:  null  Array of column options. Please refer to Column Parameters for more. Example: ?  1 2 3 4 5 6 7 8 9 $(function() {   $('#tblAppendGrid').appendGrid({   columns: [   { name: 'Album', type: 'text', display: 'Album', ctrlAttr: { maxlength: 100 } { name: 'Artist', type: 'select', display: 'Artist', ctrlOptions: { 0: '{Choo { name: 'Year', type: 'ui-spinner', display: 'Year', value: new   Date().getFul ]   });   });   i18n Type:  Object Default:  null Labels or messages used in grid.    append: The tooltip on the `append` button at the bottom of grid. removeLast: The tooltip on the `remove` button at the bottom of grid. insert: The tooltip on the `insert` button at the end on each row. remove: The tooltip on the `remove` button at the end on each row. moveUp: The tooltip on the `move up` button at the end on each row. moveDown: The tooltip on the `move down` button at the end on each row. rowDrag: The tooltip on the `drag` button at the end on each row, if  rowDragging is set to true. rowEmpty: The message to be displayed when no rows in grid.   Example: ?  1 2 3 4 5 6 7 8 9 10 11 12 13 $(function() {   $('#tblAppendGrid').appendGrid({   columns: [   { name: 'Album', display: 'Album'   },   { name: 'Artist', display: 'Artist'   },   { name: 'Year', display: 'Year'   }   ],   i18n: {   append: 'Hey! Append a new row at bottom!',   removeLast: 'Caution! Remove the last row!'   }   });   });  
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks