{"ZGDialog":{"methods":[{"name":"closeDialog","description":"Closes currently opened dialogs","type":null,"demoLink":"https://app.zingsoft.com/demos/create/LKSPSD0C","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-closeDialog","category":"Method","version":"1.x.x"},{"name":"customizeDialog","description":"Customizes the user's dialog","type":null,"demoLink":"https://app.zingsoft.com/demos/create/LTM0L1OZ","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"The type of dialog to customize.  If you set as null, the config will be applied to all dialogs.\nOptions are: record-create, record-delete, record-info, record-update, view-error, view-info, view-success, view-warn, zg-version","name":"type","optional":false},{"type":"Object","description":"Options for the data retrieval.  Options are:\ncancel (text for the cancel button), confirm (text for the confirm button),\ntitle: (title to display on the dialog)","name":"config","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-customizeDialog","category":"Method","version":"1.x.x"}]},"ZGColumn":{"methods":[{"name":"column","description":"Fetches the targeted column.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/YG2ADVW8","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Field index of column to fetch.","name":"fieldIndex","optional":false}],"returns":[{"type":"Object","description":"Column object.","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-column","category":"Method","version":"1.x.x"},{"name":"filterColumn","description":"Filters the column specified by column index. Note: `filter` attribute must be present for\nthis method to work.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/N3YC3ANH","acceptedValues":[],"displayValues":["('firstName', 'John')"],"params":[{"type":"String","description":"Index of column.","name":"columnIndex","optional":false},{"type":"String","description":"Filter string.","name":"filter","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-filterColumn","category":"Method","version":"1.x.x"},{"name":"filterMenuColumn","description":"Advanced filtering on the column specified by column index. Note: `filter` attribute must be present for\nthis method to work with the filter menu enabled.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/NWJJZFHZ","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Field Index of column.","name":"fieldIndex","optional":false},{"type":"Object","description":"Advanced Filter configuration.","name":"filter","optional":false},{"type":"Array.<Object>","description":"Array of conditional objects to filter on","name":"filter.conditionals","optional":true},{"type":"String","description":"the key based string for the condition to apply the filter, ie contains, startsWith, greaterThan","name":"filter.conditionals[].condition","optional":true},{"type":"String","description":"The first value to apply towards the condition","name":"filter.conditionals[].val1","optional":true},{"type":"String","description":"The second value to apply towards the condition","name":"filter.conditionals[].val2","optional":true},{"type":"String","description":"'and' or 'or' indicating how to filter multiple conditionals.  Default is 'and'","name":"filter.boolean","optional":true},{"type":"Boolean","description":"Boolean indicating if the matching should be case sensitive.  Default is false","name":"filter.matchCase","optional":true},{"type":"Array.<String>","description":"Array of items to select in the filter menu selectbox","name":"filter.selectItems","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-filterMenuColumn","category":"Method","version":"1.x.x"},{"name":"getColClass","description":"Gets the value of the `col-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/DWFXF284","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getColClass","category":"Method","version":"1.x.x"},{"name":"getFrozenColumnsLeft","description":"Gets the value of the `frozen-columns-left` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/H9DBXDZP","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenColumnsLeft","category":"Method","version":"1.x.x"},{"name":"getFrozenColumnsRight","description":"Gets the value of the `frozen-columns-right` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/Q0AZYCO8","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenColumnsRight","category":"Method","version":"1.x.x"},{"name":"getHeaderAutoFormat","description":"Gets the value of the `header-auto-format` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/UJ1F3ZZ5","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getHeaderAutoFormat","category":"Method","version":"1.x.x"},{"name":"getNestedDataSeparator","description":"Gets the value of the `nested-data-separator` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/S7MVK7MR","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getNestedDataSeparator","category":"Method","version":"1.x.x"},{"name":"hideColumn","description":"Hides a column based on index","type":null,"demoLink":"https://app.zingsoft.com/demos/create/HNG153JM","acceptedValues":[],"displayValues":["firstName"],"params":[{"type":"String","description":"Index of column to hide","name":"columnIndex","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-hideColumn","category":"Method","version":"1.x.x"},{"name":"hideColumnType","description":"Hides all columns with the given column type","type":null,"demoLink":"https://app.zingsoft.com/demos/create/OBTJ3TFE","acceptedValues":[],"displayValues":["row-details"],"params":[{"type":"String","description":"Type of the columns to hide","name":"columnType","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-hideColumnType","category":"Method","version":"1.x.x"},{"name":"resetFilter","description":"Resets the current filter.  Resets either the specified column or all the columns","type":null,"demoLink":"https://app.zingsoft.com/demos/create/HP881LH3","acceptedValues":[],"displayValues":["('firstName')"],"params":[{"type":"String","description":"Index of column.","name":"fieldIndex","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-resetFilter","category":"Method","version":"1.x.x"},{"name":"setColClass","description":"Sets the `col-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/F22M97JN","acceptedValues":[],"displayValues":["\"userClassName\"","\"functionName\""],"params":[{"type":"String","description":"Class name or function name","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setColClass","category":"Method","version":"1.x.x"},{"name":"setColumns","description":"Sets the `columns` property","type":null,"demoLink":"https://app.zingsoft.com/demos/create/2KXB4WP6","acceptedValues":[],"displayValues":["Array"],"params":[{"type":"Array","description":"Array of column objects","name":"columns","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setColumns","category":"Method","version":"1.x.x"},{"name":"setColumnsControl","description":"Sets the `columns-control` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/4BO1V47O","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setColumnsControl","category":"Method","version":"1.x.x"},{"name":"setFrozenColumnsLeft","description":"Sets the `frozen-columns-left` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/RFEN3LCZ","acceptedValues":[],"displayValues":["1"],"params":[{"type":"Number","description":"The number of columns to freeze to the left","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenColumnsLeft","category":"Method","version":"1.x.x"},{"name":"setFrozenColumnsRight","description":"Sets the `frozen-columns-right` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/LSSHGJPP","acceptedValues":[],"displayValues":["1"],"params":[{"type":"Number","description":"The number of columns to freeze to the right","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenColumnsRight","category":"Method","version":"1.x.x"},{"name":"setHeaderAutoFormat","description":"Sets the `header-auto-format` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/9Q9QPOXB","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setHeaderAutoFormat","category":"Method","version":"1.x.x"},{"name":"setNestedDataSeparator","description":"Sets the `nested-data-separator` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/RMRSFXAI","acceptedValues":[],"displayValues":["\".\"","\"/\"","\"disabled\""],"params":[{"type":"String","description":"The separator value","name":"separator","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setNestedDataSeparator","category":"Method","version":"1.x.x"},{"name":"showColumn","description":"Sets column to be visible","type":null,"demoLink":"https://app.zingsoft.com/demos/create/UQHH8ZQ1","acceptedValues":[],"displayValues":["firstName"],"params":[{"type":"String","description":"Index of column to show","name":"columnIndex","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-showColumn","category":"Method","version":"1.x.x"},{"name":"sortColumn","description":"Sorts the given column with the given sort direction","type":null,"demoLink":"https://app.zingsoft.com/demos/create/ON5CARNY","acceptedValues":[],"displayValues":["(firstName, asc)","(firstName, desc)","(firstName)"],"params":[{"type":"String","description":"Index of column to sort","name":"columnIndex","optional":false},{"type":"String","description":"Sort Direction: asc, desc, or none","name":"direction","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-sortColumn","category":"Method","version":"1.x.x"},{"name":"toggleColumn","description":"Toggles the visibility of a column by index","type":null,"demoLink":"https://app.zingsoft.com/demos/create/9EUFZQIR","acceptedValues":[],"displayValues":["(firstName, true)","(firstName, false)"],"params":[{"type":"String","description":"Index of column to toggle","name":"columnIndex","optional":false},{"type":"Boolean","description":"Visibility of column","name":"hide","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-toggleColumn","category":"Method","version":"1.x.x"}]},"ZGBody":{"methods":[{"name":"scrollLeft","description":"Scrolls the ZGBody to the left by the given increment (in pixels) or the default of 100px","type":null,"demoLink":"https://app.zingsoft.com/demos/create/D0H87Y5A","acceptedValues":[],"displayValues":[],"params":[{"type":"Number","description":"The amount of pixels to scroll","name":"scrollIncrement","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-scrollLeft","category":"Method","version":"1.x.x"},{"name":"scrollLeftMax","description":"Scrolls the ZGBody all the way to the left","type":null,"demoLink":"https://app.zingsoft.com/demos/create/XT96LNTH","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-scrollLeftMax","category":"Method","version":"1.x.x"},{"name":"scrollRight","description":"Scrolls the ZGBody to the right by the given increment (in pixels) or the default of 100px","type":null,"demoLink":"https://app.zingsoft.com/demos/create/D0H87Y5A","acceptedValues":[],"displayValues":[],"params":[{"type":"Number","description":"The amount of pixels to scroll","name":"scrollIncrement","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-scrollRight","category":"Method","version":"1.x.x"},{"name":"scrollRightMax","description":"Scrolls the ZGBody all the way to the right","type":null,"demoLink":"https://app.zingsoft.com/demos/create/XT96LNTH","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-scrollRightMax","category":"Method","version":"1.x.x"}]},"ZGSelector":{"methods":[{"name":"deselect","description":"Deselects all cells","type":null,"demoLink":"https://app.zingsoft.com/demos/create/N5EBJDP4","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-deselect","category":"Method","version":"1.x.x","storyAlert":"https://app.zingsoft.com/demos/create/N5EBJDP4"},{"name":"deselectRow","description":"Deselects row at given 0 based index.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/Q8LKCUES","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Row to deselect","name":"rowIndex","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-deselectRow","category":"Method","version":"1.x.x","storyAttr":["row-selector"]},{"name":"deselectRows","description":"Deselects any row selected by the row selector column","type":null,"demoLink":"https://app.zingsoft.com/demos/create/46Q7YC9T","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-deselectRows","category":"Method","version":"1.x.x","storyAttr":["selector"],"storyAlert":"https://app.zingsoft.com/demos/create/46Q7YC9T"},{"name":"getSelectedRows","description":"Returns an array of selected rows","type":null,"demoLink":"https://app.zingsoft.com/demos/create/SQV8GJ9Q","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Array","description":"Selected Data","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getSelectedRows","category":"Method","version":"1.x.x","storyAttr":["row-selector"]},{"name":"getSelector","description":"Gets the value of the `selector` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/LGD8NBIH","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getSelector","category":"Method","version":"1.x.x"},{"name":"select","description":"Selects one or more cells","type":null,"demoLink":"https://app.zingsoft.com/demos/create/LPX2VU11","acceptedValues":[],"displayValues":["(1, 1)"],"params":[{"type":"String","description":"Row of cell to select","name":"rowIndex","optional":false},{"type":"String","description":"Column of cell to select","name":"colIndex","optional":false},{"type":"String","description":"Optional end cell row for multi-cell selection","name":"endRowIndex","optional":true},{"type":"String","description":"Optional end cell column for multi-cell selection","name":"endColIndex","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-select","category":"Method","version":"1.x.x","storyAttr":["selector"]},{"name":"selectAll","description":"Selects all cells","type":null,"demoLink":"https://app.zingsoft.com/demos/create/NPIE2UP8","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-selectAll","category":"Method","version":"1.x.x"},{"name":"selectRow","description":"Selects row at given 0 based index.  Will not select if there is no selector column or index is off page.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/UK2A63SA","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Row to select","name":"rowIndex","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-selectRow","category":"Method","version":"1.x.x","storyAttr":["row-selector"]},{"name":"setSelector","description":"Sets the `selector` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/646X7HUT","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setSelector","category":"Method","version":"1.x.x"}]},"ZGPager":{"methods":[{"name":"firstPage","description":"Navigates to first page in the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/OVFV2SXI","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-firstPage","category":"Method","version":"1.x.x"},{"name":"getPageIndex","description":"Gets the current page. Does not apply to cursor paging.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/DPU57396","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Number","description":"Page index","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getPageIndex","category":"Method","version":"1.x.x"},{"name":"getPageSize","description":"Gets the current `page-size`","type":null,"demoLink":"https://app.zingsoft.com/demos/create/KG1HXH0X","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Number","description":"Page size","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getPageSize","category":"Method","version":"1.x.x"},{"name":"getPageSizeCard","description":"Gets the value of the `page-size-card` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/3YCURUTK","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getPageSizeCard","category":"Method","version":"1.x.x"},{"name":"getPageSizeRow","description":"Gets the value of the `page-size-row` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/ODBAS4DS","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getPageSizeRow","category":"Method","version":"1.x.x"},{"name":"getPager","description":"Gets the value of the `pager` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/QNR08A9M","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getPager","category":"Method","version":"1.x.x"},{"name":"lastPage","description":"Navigates to the last page in the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/O8X725D3","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-lastPage","category":"Method","version":"1.x.x"},{"name":"nextPage","description":"Navigates to the next page in the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/86ISES2C","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-nextPage","category":"Method","version":"1.x.x"},{"name":"prevPage","description":"Navigates to the previous page in the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/J8RVF47F","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-prevPage","category":"Method","version":"1.x.x"},{"name":"setPageIndex","description":"Changes the current page index to be the specified value","type":null,"demoLink":"https://app.zingsoft.com/demos/create/EDNZPHKK","acceptedValues":[],"displayValues":["2"],"params":[{"type":"Number","description":"New page index","name":"pageIndex","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageIndex","category":"Method","version":"1.x.x"},{"name":"setPageSize","description":"Changes the current page size to be the specified value","type":null,"demoLink":"https://app.zingsoft.com/demos/create/GN1AKHZH","acceptedValues":[],"displayValues":["10"],"params":[{"type":"Number","description":"New page size","name":"pageSize","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageSize","category":"Method","version":"1.x.x"},{"name":"setPageSizeCard","description":"Changes the current page size to be the specified value in card mode","type":null,"demoLink":"https://app.zingsoft.com/demos/create/32SWY7UL","acceptedValues":[],"displayValues":["10"],"params":[{"type":"Number","description":"New card page size","name":"pageSize","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageSizeCard","category":"Method","version":"1.x.x"},{"name":"setPageSizeOptions","description":"Sets the page size options for the pager drop down","type":null,"demoLink":"https://app.zingsoft.com/demos/create/HNNG7A7B","acceptedValues":[],"displayValues":["'5,25,100'"],"params":[{"type":"String","description":"Comma separated list of numerical page sizes","name":"options","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageSizeOptions","category":"Method","version":"1.x.x"},{"name":"setPageSizeRow","description":"Changes the current page size to be the specified value in row mode","type":null,"demoLink":"https://app.zingsoft.com/demos/create/2XKLG8ML","acceptedValues":[],"displayValues":["10"],"params":[{"type":"Number","description":"New row page size","name":"pageSize","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageSizeRow","category":"Method","version":"1.x.x"},{"name":"setPager","description":"Sets the `pager` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/VNPR5GYQ","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPager","category":"Method","version":"1.x.x"}]},"ZGCaption":{"methods":[{"name":"getCaption","description":"Gets the value of the `caption` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/04GHY1VD","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getCaption","category":"Method","version":"1.x.x"},{"name":"setCaption","description":"Set the caption text","type":null,"demoLink":"https://app.zingsoft.com/demos/create/CD0S26IB","acceptedValues":[],"displayValues":["Hello World"],"params":[{"type":"String","description":"Text to set the caption to. If no string is passed, it will remove the caption.","name":"sCaption","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setCaption","category":"Method","version":"1.x.x"}]},"ZGData":{"methods":[{"name":"getData","description":"Fetches the internal property referencing the dataset for the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/WXJM54FT","acceptedValues":[],"displayValues":["{ csv: true, headers: true, col: \"all or visible\", rows: \"all or visible\" }"],"params":[{"type":"Object","description":"Optional, options for the data retrieval.  Options are:\ncsv (set true to return csv string),\nheaders (set true to return headers - only applies to csv or JSON array of arrays),\ncols (set to 'all' or 'visible' to return all or only visible columns),\nrows (set to 'all' or 'visible' to return all or only visible rows)","name":"config","optional":false}],"returns":[{"type":"Array | Object","description":"The dataset.","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getData","category":"Method","version":"1.x.x"},{"name":"getSrc","description":"Gets the value of the `src` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/65BH3JJH","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getSrc","category":"Method","version":"1.x.x"},{"name":"getTemplateEndDelimiter","description":"Gets the value of the `template-end-delimiter` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/356O5CQH","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getTemplateEndDelimiter","category":"Method","version":"1.x.x"},{"name":"getTemplateStartDelimiter","description":"Gets the value of the `template-start-delimiter` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/U52PHUWE","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getTemplateStartDelimiter","category":"Method","version":"1.x.x"},{"name":"insertRow","description":"Inserts a new row into the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/7C8K3S0R","acceptedValues":[],"displayValues":[],"params":[{"type":"Object","description":"Data to insert into new row","name":"data","optional":true},{"type":"String","description":"If the id is already set on the new record, pass it in here","name":"id","optional":true},{"type":"Boolean","description":"If you only want to do a local insert, set `noDataSource` to \"true\"","name":"noDataSource","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-insertRow","category":"Method","version":"1.x.x"},{"name":"refresh","description":"Refreshes all cells. Note: if using static data, original cell value will be restored.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/C0VU05L5","acceptedValues":[],"displayValues":["N/A"],"params":[],"returns":[{"type":"Undefined","description":"N/A","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-refresh","category":"Method","version":"1.x.x"},{"name":"refreshGrid","description":"Refreshes entire grid.  Useful for language change.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/ONXSD3GH","acceptedValues":[],"displayValues":["N/A"],"params":[],"returns":[{"type":"Undefined","description":"N/A","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-refreshGrid","category":"Method","version":"1.x.x"},{"name":"removeRecord","description":"Removes a record from the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/E5WDZ3GC","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"ID of the record to remove","name":"id","optional":true},{"type":"Boolean","description":"If you only want to remove from the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-removeRecord","category":"Method","version":"1.x.x"},{"name":"removeRow","description":"Removes a row from the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/2W8QFOZT","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Row index (0 based) of the record to remove","name":"rowIndex","optional":true},{"type":"Boolean","description":"If you only want to remove from the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-removeRow","category":"Method","version":"1.x.x"},{"name":"setData","description":"Sets or updates the dataset for the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/16TN8AXU","acceptedValues":[],"displayValues":["[1, 2, 3]","[{firstName:\"John\", lastName:\"Doe\"}]"],"params":[{"type":"Array | Object","description":"JSON data","name":"data","optional":false},{"type":"Boolean","description":"If true, the grid will try to maintain the sort on the new data.","name":"bKeepSort","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setData","category":"Method","version":"1.x.x"},{"name":"setSrc","description":"Sets the `src` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/LCIB7MYU","acceptedValues":[],"displayValues":["https://cdn.zinggrid.com/datasets/users.json"],"params":[{"type":"String","description":"Value to indicate a path to a remote data source","name":"src","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setSrc","category":"Method","version":"1.x.x"},{"name":"setTemplateEndDelimiter","description":"Sets the `template-end-delimiter` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/FO1OZLPN","acceptedValues":[],"displayValues":["\"}}\""],"params":[{"type":"String","description":"Value to indicate regex expression for closing data binding","name":"delim","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setTemplateEndDelimiter","category":"Method","version":"1.x.x"},{"name":"setTemplateStartDelimiter","description":"Sets the `template-start-delimiter` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/DR9KPT73","acceptedValues":[],"displayValues":["\"{{\""],"params":[{"type":"String","description":"Value to indicate regex expression for opening data binding","name":"delim","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setTemplateStartDelimiter","category":"Method","version":"1.x.x"},{"name":"updateCellByID","description":"Updates a cell in the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/YQX4FZMK","acceptedValues":[],"displayValues":[],"params":[{"type":"Number","description":"ID of the record to update","name":"id","optional":false},{"type":"Number","description":"Field index of the cell to update","name":"fieldIndex","optional":false},{"type":"*","description":"New Value","name":"val","optional":false},{"type":"Boolean","description":"If you only want to update the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-updateCellByID","category":"Method","version":"1.x.x"},{"name":"updateCellByPosition","description":"Updates a cell in the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/3KMH7QTT","acceptedValues":[],"displayValues":[],"params":[{"type":"Number","description":"Row index (0 based) of the cell to update","name":"rowIndex","optional":false},{"type":"Number","description":"Column index (0 based) of the cell to update","name":"columnIndex","optional":false},{"type":"*","description":"New Value","name":"val","optional":false},{"type":"Boolean","description":"If you only want to update the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-updateCellByPosition","category":"Method","version":"1.x.x"},{"name":"updateRecord","description":"Updates a record in the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/FTIETDHO","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"ID of the record to update","name":"id","optional":true},{"type":"Object","description":"Data to update","name":"data","optional":true},{"type":"Boolean","description":"If you only want to update the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource","optional":true},{"type":"Boolean","description":"If you only do not want the display to do an refresh after updating the record, set `noRefresh` to \"true\".  NOTE:  Any data change will NOT be reflected in the grid if this is set to \"true\"","name":"noRefresh","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-updateRecord","category":"Method","version":"1.x.x"},{"name":"updateRow","description":"Updates a row in the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/9L8CMADP","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Row index (0 based) of the record to update","name":"rowIndex","optional":false},{"type":"Object","description":"Data to update","name":"data","optional":false},{"type":"Boolean","description":"If you only want to update the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource","optional":true},{"type":"Boolean","description":"If you only do not want the display to do an refresh after updating the record, set `noRefresh` to \"true\".  NOTE:  Any data change will NOT be reflected in the grid if this is set to \"true\"","name":"noRefresh","optional":true}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-updateRow","category":"Method","version":"1.x.x"}]},"ZGCellOverflow":{"methods":[{"name":"hideCellOverflow","description":"Hides the cell overflow","type":null,"demoLink":"","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Index of column to hide cell overflow","name":"columnIndex","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-hideCellOverflow","category":"Method","version":"1.x.x"}]},"ZGSearch":{"methods":[{"name":"getSearch","description":"Gets the value of the `search` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/JWOQCJXO","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getSearch","category":"Method","version":"1.x.x"},{"name":"searchGrid","description":"Searches the grid with the search term indicated","type":null,"demoLink":"https://app.zingsoft.com/demos/create/DDUW15BM","acceptedValues":[],"displayValues":["John Doe"],"params":[{"type":"String","description":"Search term","name":"search","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-searchGrid","category":"Method","version":"1.x.x"},{"name":"setSearch","description":"Sets the `search` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/LO0ZU5OQ","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setSearch","category":"Method","version":"1.x.x"}]},"ZGCell":{"methods":[{"name":"cell","description":"Fetches the targeted cell.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/9V1HEXS9","acceptedValues":[],"displayValues":["(3, 1)"],"params":[{"type":"Number","description":"The index of the row to fetch.","name":"rowContainerIndex","optional":false},{"type":"Number","description":"The index of the column fetch.","name":"columnContainerIndex","optional":false}],"returns":[{"type":"Object","description":"Cell object.","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-cell","category":"Method","version":"1.x.x"},{"name":"getCellBreak","description":"Get the value of the `cell-break` attribute.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/42WUY40K","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute.","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getCellBreak","category":"Method","version":"1.x.x"},{"name":"getCellClass","description":"Gets the value of the `cell-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/D8CBCK3M","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getCellClass","category":"Method","version":"1.x.x"},{"name":"getCells","description":"Fetches all cells","type":null,"demoLink":"https://app.zingsoft.com/demos/create/22GBE0CZ","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Array","description":"Cell objects","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getCells","category":"Method","version":"1.x.x"},{"name":"getDefaultDisplay","description":"Gets the value of the `default-display` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/340BIUIA","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String | Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getDefaultDisplay","category":"Method","version":"1.x.x"},{"name":"setCellBreak","description":"Sets the `cell-break` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/EGRW7XUA","acceptedValues":[],"displayValues":["\"all\"","\"ellipsis\"","\"word\""],"params":[{"type":"Enum","description":"Type of cell-break","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setCellBreak","category":"Method","version":"1.x.x","storyAlert":"dataset"},{"name":"setCellClass","description":"Sets the `cell-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/ED2M6MQ4","acceptedValues":[],"displayValues":["\"userClassName\"","\"functionName\""],"params":[{"type":"String","description":"Class name or function name","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setCellClass","category":"Method","version":"1.x.x","storyAlert":"https://app.zingsoft.com/demos/create/ED2M6MQ4","storyControl":"select","storyOptions":"teal, textUppercase"},{"name":"setDefaultDisplay","description":"Sets the `default-display` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/ZI6UH1A5","acceptedValues":[],"displayValues":["\"N/A\""],"params":[{"type":"String","description":"Value to use as default cell display if data is undefined or null","name":"value","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setDefaultDisplay","category":"Method","version":"1.x.x","storyAlert":"dataset"}]},"ZGRow":{"methods":[{"name":"getFrozenRowClass","description":"Gets the value of the `frozen-row-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/E6W7K6YZ","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenRowClass","category":"Method","version":"1.x.x"},{"name":"getFrozenRowsBottom","description":"Gets the value of the `frozen-rows-bottom` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/KAPVIGCW","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenRowsBottom","category":"Method","version":"1.x.x"},{"name":"getFrozenRowsTop","description":"Gets the value of the `frozen-rows-top` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/GQM5ATNA","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenRowsTop","category":"Method","version":"1.x.x"},{"name":"getRowClass","description":"Gets the value of the `row-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/NS9DTPVW","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getRowClass","category":"Method","version":"1.x.x"},{"name":"getZebra","description":"Gets the value of the `zebra` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/PHLIWZLI","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getZebra","category":"Method","version":"1.x.x"},{"name":"row","description":"Fetches the targeted row.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/3YPWR3D0","acceptedValues":[],"displayValues":["(3)"],"params":[{"type":"Number","description":"The index of the row to fetch.","name":"rowContainerIndex","optional":false}],"returns":[{"type":"Object","description":"Row object.","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-row","category":"Method","version":"1.x.x"},{"name":"setFrozenRowClass","description":"Sets the `frozen-row-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/M1WDULHW","acceptedValues":[],"displayValues":["\"userClassName\"","\"functionName\""],"params":[{"type":"String","description":"Class name or function name","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenRowClass","category":"Method","version":"1.x.x"},{"name":"setFrozenRowsBottom","description":"Sets the `frozen-rows-bottom` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/Y54B9WMY","acceptedValues":[],"displayValues":["1"],"params":[{"type":"Number","description":"The number of rows to freeze to the bottom","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenRowsBottom","category":"Method","version":"1.x.x"},{"name":"setFrozenRowsTop","description":"Sets the `frozen-rows-top` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/2UUE2O8G","acceptedValues":[],"displayValues":["1"],"params":[{"type":"Number","description":"The number of rows to freeze to the top","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenRowsTop","category":"Method","version":"1.x.x"},{"name":"setRowClass","description":"Sets the `row-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/FM9H02Y3","acceptedValues":[],"displayValues":["\"userClassName\"","\"functionName\""],"params":[{"type":"String","description":"Class name or function name","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setRowClass","category":"Method","version":"1.x.x"},{"name":"setZebra","description":"Sets the `zebra` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/AQPW66ZC","acceptedValues":[],"displayValues":["\"userClassName1 userClassName2\"","\"functionName\""],"params":[{"type":"String","description":"Class name or function name","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setZebra","category":"Method","version":"1.x.x"}]},"ZGEditor":{"methods":[{"name":"getConfirmations","description":"Gets the value of the `confirmations` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/0NPDW7HG","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getConfirmations","category":"Method","version":"1.x.x"},{"name":"getCreator","description":"Gets the value of the `creator` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/5IAWGIZE","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getCreator","category":"Method","version":"1.x.x"},{"name":"getEditor","description":"Gets the value of the `editor` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/ZP7L5UOE","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getEditor","category":"Method","version":"1.x.x"},{"name":"getEditorControls","description":"Gets the value of the `editor-controls` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/LMIT87GJ","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getEditorControls","category":"Method","version":"1.x.x"},{"name":"getRecordDuplicate","description":"Gets the value of the `record-duplicate` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/2PPQ9916","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getRecordDuplicate","category":"Method","version":"1.x.x"},{"name":"getRowSelector","description":"Gets the value of the `row-selector` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/AMYQRQWX","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getRowSelector","category":"Method","version":"1.x.x"},{"name":"openRowEditor","description":"Opens specified row in edit mode if editing is allowed","type":null,"demoLink":"https://app.zingsoft.com/demos/create/DXAG58GW","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-openRowEditor","category":"Method","version":"1.x.x"},{"name":"setConfirmations","description":"Sets the `confirmations` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/MT61FWMX","acceptedValues":[],"displayValues":["\"batch-edit\"","\"batch-edit-discard\"","\"delete\"","\"disabled\"","\"all\""],"params":[{"type":"String","description":"string value to indicate what confirmations to enable","name":"types","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setConfirmations","category":"Method","version":"1.x.x"},{"name":"setCreator","description":"Sets the `creator` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/R1WCLI2N","acceptedValues":[],"displayValues":["inline","modal",""],"params":[{"type":"String","description":"Value of the creator mode","name":"sMode","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setCreator","category":"Method","version":"1.x.x"},{"name":"setEditor","description":"Sets the `editor` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/VTIAY9FG","acceptedValues":[],"displayValues":["true","false","inline","modal",""],"params":[{"type":"Boolean | String","description":"Boolean value to indicate add or remove, or string value to indicate the editor type","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setEditor","category":"Method","version":"1.x.x"},{"name":"setEditorControls","description":"Sets the `editor-controls` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/TPO80NAU","acceptedValues":[],"displayValues":["true","false","all","editor","remover","creator"],"params":[{"type":"Boolean | String","description":"Boolean value to indicate add or remove, or string value to indicate what editor controls to add","name":"types","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setEditorControls","category":"Method","version":"1.x.x"},{"name":"setRecordDuplicate","description":"Sets the `record-duplicate` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/GJYS2FY5","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"duplicate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setRecordDuplicate","category":"Method","version":"1.x.x"},{"name":"setRowSelector","description":"Sets the `row-selector` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/VYMAXZVT","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setRowSelector","category":"Method","version":"1.x.x"}]},"ZGMenu":{"methods":[{"name":"closeContextMenu","description":"Closes currently opened contextmenu.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/KAFDGIDP","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-closeContextMenu","category":"Method","version":"1.x.x"},{"name":"getColumnsControl","description":"Gets the value of the `columns-control` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/F9GK3NR8","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getColumnsControl","category":"Method","version":"1.x.x"},{"name":"getContextMenu","description":"Gets the value of the `context-menu` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/F9GK3NR8","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String | Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getContextMenu","category":"Method","version":"1.x.x"},{"name":"getStaticMenu","description":"Gets the value of the `static-menu` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/MW02GB99","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getStaticMenu","category":"Method","version":"1.x.x"},{"name":"setContextMenu","description":"Sets the `context-menu` attribute.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/IFD5DPS2","acceptedValues":[],"displayValues":["true","false","contextMenuId"],"params":[{"type":"Boolean | String","description":"Boolean value to indicate add or remove, or string value to indicate reference to id of context-menu.","name":"types","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setContextMenu","category":"Method","version":"1.x.x"},{"name":"setStaticMenu","description":"Sets the `static-menu` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/VUHZSZMM","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setStaticMenu","category":"Method","version":"1.x.x"}]},"ZingGrid":{"methods":[{"name":"calculate","description":"Calculates aggregate values","type":null,"demoLink":"https://app.zingsoft.com/demos/create/6OT26JVM","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"The method to calculate.  Options are 'sum', 'avg', 'min', 'max', and 'count'","name":"method","optional":false},{"type":"Object","description":"The options to be used in calculating the value.  Currently fieldIndex is only option.","name":"options","optional":false},{"type":"Array","description":"The data to calculate the value on.  If this is not set, it uses the grids full dataset","name":"data","optional":false}],"returns":[{"type":"String","description":"The calculated value or empty string if the parameters don't make sense","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-calculate","category":"Method","version":"1.x.x"},{"name":"clearState","description":"Clears the grid state","type":null,"demoLink":"https://app.zingsoft.com/demos/create/PU60HJHR","acceptedValues":[],"displayValues":[],"params":[],"returns":[],"tagName":"zing-grid","fullName":"zing-grid-method-clearState","category":"Method","version":"1.x.x"},{"name":"executeOnLoad","description":"Executes callback function when grid completes load. If grid is already loaded, it will execute immediately.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/HRRCVJZ3","acceptedValues":[],"displayValues":["function() { //do something }"],"params":[{"type":"function","description":"Callback function to execute","name":"callback","optional":false}],"returns":[{"type":"Undefined","description":"N/A","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-executeOnLoad","category":"Method","version":"1.x.x"},{"name":"formatDate","description":"Formats a Date","type":null,"demoLink":"https://app.zingsoft.com/demos/create/P6PWYZLI","acceptedValues":[],"displayValues":[],"params":[{"type":"String | Date","description":"The Date to format","name":"date","optional":false},{"type":"String","description":"The tokenized format to format the date","name":"format","optional":false}],"returns":[{"type":"String","description":"The formatted date","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-formatDate","category":"Method","version":"1.x.x"},{"name":"fromNow","description":"Formats a Date in from now format","type":null,"demoLink":"https://app.zingsoft.com/demos/create/NWYBOBCD","acceptedValues":[],"displayValues":[],"params":[{"type":"Date","description":"The Date to format","name":"date","optional":false},{"type":"Boolean","description":"Indicates if we should include 'ago/to' to indicate past/future","name":"raw","optional":false}],"returns":[{"type":"String","description":"The formatted date","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-fromNow","category":"Method","version":"1.x.x"},{"name":"getAggregate","description":"Get the value of the `aggregate` attribute.  Does not return any user defined aggregate columns.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/8TYG2EX8","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the aggregate attribute.","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getAggregate","category":"Method","version":"1.x.x"},{"name":"getBatchEdit","description":"Gets the value of the `batch-edit` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/C8N9TQV5","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getBatchEdit","category":"Method","version":"1.x.x"},{"name":"getBatchEditStatus","description":"Gets the value of the `batch-edit-status` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/QTI7LSC6","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getBatchEditStatus","category":"Method","version":"1.x.x"},{"name":"getColumnDrag","description":"Gets the value of the `column-drag` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/U12DZX8D","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getColumnDrag","category":"Method","version":"1.x.x"},{"name":"getColumnDragAction","description":"Gets the value of the `column-drag-action` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/ZKH9KE8Y","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getColumnDragAction","category":"Method","version":"1.x.x"},{"name":"getCompact","description":"Gets the value of the `compact` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/9CMDZX4R","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String | Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getCompact","category":"Method","version":"1.x.x"},{"name":"getConstants","description":"Exposes the Constants object for the user to customize","type":null,"demoLink":"https://app.zingsoft.com/demos/create/KE815753","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Object","description":"Object containing constant variables","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getConstants","category":"Method","version":"2.x.x"},{"name":"getDir","description":"Gets the dir setting for the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/L8DLUQT4","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of dir","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getDir","category":"Method","version":"1.x.x"},{"name":"getGridlines","description":"Gets the value of the `gridlines` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/32PP7TE5","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getGridlines","category":"Method","version":"1.x.x"},{"name":"getGroupBy","description":"Gets the indexes of the current row groupings.  Returns false if none","type":null,"demoLink":"https://app.zingsoft.com/demos/create/7HCE5QSA","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String | Boolean","description":"Index value of the row-group or false if none.","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getGroupBy","category":"Method","version":"1.x.x"},{"name":"getHeight","description":"Gets the value of the `height` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/DZLMNJLX","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getHeight","category":"Method","version":"1.x.x"},{"name":"getLang","description":"Gets the language used on the grid","type":null,"demoLink":"https://app.zingsoft.com/demos/create/JBGU6KAC","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getLang","category":"Method","version":"1.x.x"},{"name":"getPreserveStateId","description":"Gets the value of the `preserve-state-id` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/3SGEGQKA","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getPreserveStateId","category":"Method","version":"1.x.x"},{"name":"getPreserveStateLoad","description":"Gets the value of the `preserve-state-load` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/PIEI0982","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getPreserveStateLoad","category":"Method","version":"1.x.x"},{"name":"getPreserveStateOptions","description":"Gets the value of the `preserve-state-options` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/43JHGSEO","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getPreserveStateOptions","category":"Method","version":"1.x.x"},{"name":"getPreserveStateSave","description":"Gets the value of the `preserve-state-save` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/JKHQMVD1","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"ZingGrid","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getPreserveStateSave","category":"Method","version":"1.x.x"},{"name":"getRowHeight","description":"Gets the value of the `row-height` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/VQIKSPFX","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getRowHeight","category":"Method","version":"2.x.x"},{"name":"getRowHeightScope","description":"Gets the value of the `row-height-scope` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/TWLO5FV0","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getRowHeightScope","category":"Method","version":"2.x.x"},{"name":"getWidth","description":"Gets the value of the `width` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/JOUAEGFJ","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getWidth","category":"Method","version":"1.x.x"},{"name":"setAggregate","description":"Sets the `aggregate` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/XF5TFIZU","acceptedValues":[],"displayValues":["\"sum\"","\"avg\"","\"max\"","\"min\"","\"count\"","\"tokenized string\""],"params":[{"type":"String","description":"Value to set aggregate to","name":"aggregate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setAggregate","category":"Method","version":"1.x.x"},{"name":"setBatchEdit","description":"Sets the value of the `batch-edit` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/FBI18VKS","acceptedValues":[],"displayValues":[],"params":[{"type":"Boolean","description":"Value of batch-edit","name":"batchEdit","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setBatchEdit","category":"Method","version":"1.x.x"},{"name":"setBatchEditStatus","description":"Sets the value of the `batch-edit-status` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/RNYT7098","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Value of the batch-edit-status","name":"batchEditStatus","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setBatchEditStatus","category":"Method","version":"1.x.x"},{"name":"setBuildCode","description":"Sets the build code and removes watermarks if it is valid.\nIf the build code is not set on page load, it is possible to set it through this API Method.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/MLAIIDW1","acceptedValues":[],"displayValues":["['BUILD_CODE']"],"params":[{"type":"Array","description":"The buildcode array","name":"buildcode","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setBuildCode","category":"Method","version":"1.x.x"},{"name":"setColumnDrag","description":"Sets the `column-drag` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/5CYF83KZ","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Boolean value to indicate add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setColumnDrag","category":"Method","version":"1.x.x"},{"name":"setColumnDragAction","description":"Sets the `column-drag-action` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/FYHHMX6T","acceptedValues":[],"displayValues":["\"reorder\"","\"remove\"","\"both\""],"params":[{"type":"Enum","description":"Type of drag to enable","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setColumnDragAction","category":"Method","version":"1.x.x"},{"name":"setCompact","description":"Sets the `compact` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/TUD3RQAU","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setCompact","category":"Method","version":"1.x.x"},{"name":"setDir","description":"Sets the `dir` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/Q1OU5SXW","acceptedValues":[],"displayValues":["\"ltr\"","\"rtl\""],"params":[{"type":"Enum","description":"Type of dir","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setDir","category":"Method","version":"1.x.x"},{"name":"setGridlines","description":"Sets the `gridlines` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/971PFN13","acceptedValues":[],"displayValues":["\"both\"","\"horz\"","\"horizontal\"","\"vert\"","\"vertical\""],"params":[{"type":"Enum","description":"Type of gridlines to set on the grid","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setGridlines","category":"Method","version":"1.x.x"},{"name":"setGroupBy","description":"Sets the `group-by` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/0IOJI4MG","acceptedValues":[],"displayValues":["country"],"params":[{"type":"String","description":"Index to set the group-by","name":"index","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setGroupBy","category":"Method","version":"1.x.x"},{"name":"setHeight","description":"Sets the `height` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/3T3FD7SB","acceptedValues":[],"displayValues":["500"],"params":[{"type":"Number","description":"Value setting the height of the grid","name":"height","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setHeight","category":"Method","version":"1.x.x"},{"name":"setLang","description":"Sets the `lang` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/TJMEFAMW","acceptedValues":[],"displayValues":["\"en\""],"params":[{"type":"String","description":"Language to set on the grid","name":"lang","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setLang","category":"Method","version":"1.x.x"},{"name":"setLicense","description":"Sets the license and removes watermarks if it is valid.\nIf the license is not set on page load, it is possible to set it through this API Method","type":null,"demoLink":"https://app.zingsoft.com/demos/create/5BQIG9HU","acceptedValues":[],"displayValues":["['LICENSE_KEY']"],"params":[{"type":"Array","description":"The license array","name":"license","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setLicense","category":"Method","version":"1.x.x"},{"name":"setPreserveStateId","description":"Sets the `preserve-state-id` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/COGTCBEO","acceptedValues":[],"displayValues":["'myzinggridstate'"],"params":[{"type":"String","description":"Value setting the id","name":"id","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPreserveStateId","category":"Method","version":"1.x.x"},{"name":"setPreserveStateLoad","description":"Sets the `preserve-state-load` attribute as a reference of the user defined method to call on state load","type":null,"demoLink":"https://app.zingsoft.com/demos/create/13J3XLOW","acceptedValues":[],"displayValues":["'loadState'"],"params":[{"type":"String","description":"Value setting the function","name":"functionName","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPreserveStateLoad","category":"Method","version":"1.x.x"},{"name":"setPreserveStateOptions","description":"Sets the `preserve-state-options` attribute as a comma separated string of the options","type":null,"demoLink":"https://app.zingsoft.com/demos/create/CSUSRNEW","acceptedValues":[],"displayValues":["'search, filter'"],"params":[{"type":"String","description":"Value setting the options","name":"options","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPreserveStateOptions","category":"Method","version":"1.x.x"},{"name":"setPreserveStateSave","description":"Sets the `preserve-state-save` attribute as a reference of the user defined method to call on state save","type":null,"demoLink":"https://app.zingsoft.com/demos/create/LBTKBD8V","acceptedValues":[],"displayValues":["'saveState'"],"params":[{"type":"String","description":"Value setting the function","name":"functionName","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setPreserveStateSave","category":"Method","version":"1.x.x"},{"name":"setRecordCount","description":"Sets the `record-count` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/FAE61XH1","acceptedValues":[],"displayValues":["100"],"params":[{"type":"Number","description":"Value setting the count","name":"count","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setRecordCount","category":"Method","version":"1.x.x"},{"name":"setRowHeight","description":"Sets the `row-height` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/SZYIBHUH","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"CSS height to set for the row height","name":"height","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setRowHeight","category":"Method","version":"2.x.x"},{"name":"setRowHeightScope","description":"Sets the `row-height-scope` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/Z8J9DIBK","acceptedValues":[],"displayValues":[],"params":[{"type":"Enum","description":"Set to 'data', 'headers', or 'all'","name":"scope","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setRowHeightScope","category":"Method","version":"2.x.x"},{"name":"setState","description":"Sets the grid state with the options passed in","type":null,"demoLink":"https://app.zingsoft.com/demos/create/K4USHNTW","acceptedValues":[],"displayValues":["'{\"search\": \"Tom\", \"page\": 2}'"],"params":[{"type":"String","description":"JSON string or object setting the state","name":"state","optional":false}],"returns":[],"tagName":"zing-grid","fullName":"zing-grid-method-setState","category":"Method","version":"1.x.x"},{"name":"setStateField","description":"Sets the grid state for the given field","type":null,"demoLink":"https://app.zingsoft.com/demos/create/8JT6OM4D","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Name of the state to set","name":"stateName","optional":false},{"type":"String","description":"String, JSON string or object setting the state","name":"state","optional":false}],"returns":[],"tagName":"zing-grid","fullName":"zing-grid-method-setStateField","category":"Method","version":"1.x.x"},{"name":"setWidth","description":"Sets the `width` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/O680JNWT","acceptedValues":[],"displayValues":["500"],"params":[{"type":"Number","description":"Value setting the width of the grid","name":"width","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setWidth","category":"Method","version":"1.x.x"},{"name":"updateSize","description":"Forces a resize event to be triggered and to partially repaint the grid. Useful when the container updates size without the window updating.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/O9ZBIM3X","acceptedValues":[],"displayValues":[],"params":[{"type":"Boolean","description":"Display the loading screen while updating the grid.  False by default","name":"showLoading","optional":false},{"type":"Number","description":"The time to delay the action.  This should be > the time it takes to do the CSS transition.  Value in seconds","name":"delay","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-updateSize","category":"Method","version":"1.x.x"}]},"ZGRowDetails":{"methods":[{"name":"getRowDetailsRenderer","description":"Gets the value of the `row-details-renderer` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/L8N2RP09","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getRowDetailsRenderer","category":"Method","version":"2.x.x"},{"name":"getRowDetailsTemplate","description":"Gets the value of the `row-details-template` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/KL54BCMP","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getRowDetailsTemplate","category":"Method","version":"2.x.x"},{"name":"setRowDetailsRenderer","description":"Sets the `row-details-renderer` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/7GVBECTM","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"Name of the function that should be renderered for row-details","name":"renderer","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setRowDetailsRenderer","category":"Method","version":"2.x.x"},{"name":"setRowDetailsTemplate","description":"Sets the `row-details-template` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/L7NCHSDP","acceptedValues":[],"displayValues":[],"params":[{"type":"String","description":"ID of the template that should be used for row-details","name":"template","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setRowDetailsTemplate","category":"Method","version":"2.x.x"}]},"ZGFilter":{"methods":[{"name":"getFilter","description":"Gets the value of the `filter` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/TEXBT9XY","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getFilter","category":"Method","version":"1.x.x"},{"name":"setFilter","description":"Sets the `filter` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/KIU4DT58","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setFilter","category":"Method","version":"1.x.x"}]},"ZGFoot":{"methods":[{"name":"getFootClass","description":"Gets the value of the `foot-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/69TCOD2T","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getFootClass","category":"Method","version":"1.x.x"},{"name":"setFootClass","description":"Sets the `foot-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/1RMHW3K5","acceptedValues":[],"displayValues":["\"userClassName\"","\"functionName\""],"params":[{"type":"String","description":"class name or function name","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setFootClass","category":"Method","version":"1.x.x"}]},"ZGHead":{"methods":[{"name":"getHeadClass","description":"Gets the value of the `head-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/RCEOBKBU","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getHeadClass","category":"Method","version":"1.x.x"},{"name":"setHeadClass","description":"Sets the `head-class` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/SKKUJT7I","acceptedValues":[],"displayValues":["\"userClassName\"","\"functionName\""],"params":[{"type":"String","description":"Class name or function name","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setHeadClass","category":"Method","version":"1.x.x"}]},"ZGIcon":{"methods":[{"name":"getIconSet","description":"Gets the value of the `icon-set` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/1VT44D59","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getIconSet","category":"Method","version":"1.x.x"},{"name":"setIconSet","description":"Sets the `icon-set` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/QETBJ2WO","acceptedValues":[],"displayValues":["\"fa\"","\"fontawesome\"","\"font-awesome\"","\"custom\""],"params":[{"type":"String","description":"Icon set to use in the grid","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setIconSet","category":"Method","version":"1.x.x"}]},"ZGLayout":{"methods":[{"name":"getLayout","description":"Gets the value of the `layout` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/JQLUGDKY","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getLayout","category":"Method","version":"1.x.x"},{"name":"getLayoutControls","description":"Gets the value of the `layout-controls` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/M2RYZHR1","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getLayoutControls","category":"Method","version":"1.x.x"},{"name":"setLayout","description":"Sets the `layout` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/HD3VJYUL","acceptedValues":[],"displayValues":["\"row\"","\"card\""],"params":[{"type":"Enum","description":"Value to indicate the grid layout","name":"type","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setLayout","category":"Method","version":"1.x.x"},{"name":"setLayoutControls","description":"Sets the `layout-controls` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/8C4VKP9O","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setLayoutControls","category":"Method","version":"1.x.x"}]},"ZGNoData":{"methods":[{"name":"getNodata","description":"Gets the value of the `no-data` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/TYZ4FVJL","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getNodata","category":"Method","version":"1.x.x"},{"name":"setNoData","description":"Sets the `no-data` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/CX509ALI","acceptedValues":[],"displayValues":["\"No Records\""],"params":[{"type":"String","description":"Message to display when there is no data","name":"value","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setNoData","category":"Method","version":"1.x.x"}]},"ZGSorter":{"methods":[{"name":"getSort","description":"Gets the value of the `sort` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/U5OIQ6AQ","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getSort","category":"Method","version":"1.x.x"},{"name":"getSortedColumn","description":"Gets the current sorted column as well as the sort direction","type":null,"demoLink":"https://app.zingsoft.com/demos/create/OSLSCGV9","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Object","description":"Object containing: fieldIndex - the currently sorted column, order - the sort direction","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getSortedColumn","category":"Method","version":"1.x.x","storyAttr":["preserve-state-id=\"storybookGridState\"","preserve-state-options=\"sort\""],"storyAlert":"https://app.zingsoft.com/demos/create/OSLSCGV9"},{"name":"getSorter","description":"Gets the value of the `sorter` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/ET4L3N1D","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getSorter","category":"Method","version":"1.x.x"},{"name":"setSort","description":"Sets the `sort` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/AAVOU37N","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Boolean value to indicate add or remove","name":"types","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setSort","category":"Method","version":"1.x.x"},{"name":"setSorter","description":"Sets the `sorter` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/AAVOU37N","acceptedValues":[],"displayValues":["fncName"],"params":[{"type":"Boolean | String","description":"String value to indicate reference to custom sorter function","name":"types","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setSorter","category":"Method","version":"1.x.x","storyAlert":"https://app.zingsoft.com/demos/create/AAVOU37N"}]},"ZGSource":{"methods":[{"name":"getSource","description":"Gets the value of the `source` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/A4BZ8WAS","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute.","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getSource","category":"Method","version":"1.x.x"},{"name":"setSource","description":"Sets the `source` attribute. Not to be confused with `src` attribute, the `source` attribute is for citation.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/Z6CMG9G0","acceptedValues":[],"displayValues":["\"Source: Wikipedia\""],"params":[{"type":"String","description":"Source of the data in the grid","name":"value","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setSource","category":"Method","version":"1.x.x"}]},"ZGTheme":{"methods":[{"name":"getTheme","description":"Gets the value of the `theme` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/WG9V99WB","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getTheme","category":"Method","version":"1.x.x"},{"name":"setTheme","description":"Sets the `theme` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/DIUE56EF","acceptedValues":[],"displayValues":["default","android","ios","dark","customTheme"],"params":[{"type":"String","description":"Value to indicate which theme to set","name":"theme","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setTheme","category":"Method","version":"1.x.x"}]},"ZGViewport":{"methods":[{"name":"getViewport","description":"Gets the value of the `viewport` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/CUZ59D72","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getViewport","category":"Method","version":"1.x.x"},{"name":"getViewportPause","description":"Gets the value of the `viewport-pause` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/PQ4W6VOP","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getViewportPause","category":"Method","version":"1.x.x"},{"name":"getViewportStop","description":"Gets the value of the `viewport-stop` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/4KCRBHE2","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"Boolean","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getViewportStop","category":"Method","version":"1.x.x"},{"name":"getViewportTypes","description":"Gets the value of the `viewport-types` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/OEUI9GPO","acceptedValues":[],"displayValues":[],"params":[],"returns":[{"type":"String","description":"Value of the attribute","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-getViewportTypes","category":"Method","version":"1.x.x"},{"name":"setViewportPause","description":"Sets the `viewport-pause` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/Z6CMG9G0","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setViewportPause","category":"Method","version":"1.x.x"},{"name":"setViewportStop","description":"Sets the `viewport-stop` attribute","type":null,"demoLink":"https://app.zingsoft.com/demos/create/AFCCMG4D","acceptedValues":[],"displayValues":["true","false"],"params":[{"type":"Boolean","description":"Value to add or remove","name":"activate","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setViewportStop","category":"Method","version":"1.x.x"}]},"ZGCard":{"methods":[{"name":"setCardTemplate","description":"Sets the id to reference an external `template` to be used as `<zg-card>`","type":null,"demoLink":"https://app.zingsoft.com/demos/create/9JC1MBG2","acceptedValues":[],"displayValues":["templateId"],"params":[{"type":"String","description":"Value of id to use the card template.","name":"id","optional":false}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together","optional":false}],"tagName":"zing-grid","fullName":"zing-grid-method-setCardTemplate","category":"Method","version":"1.x.x","storyAttr":["layout=\"card\""],"storyAlert":"https://app.zingsoft.com/demos/create/9JC1MBG2","storyControl":"select","storyOptions":"fullName, nameAndId"}]}}