zinggrid
Version:
ZingGrid - A fully-featured, native, web-component, data table and grid for Javascript applications.
1 lines • 73 kB
JSON
{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-closeDialog","category":"Method"},{"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:\n<ul>\n<li>record-create\n<li>record-delete\n<li>record-info\n<li>record-update\n<li>view-error\n<li>view-info\n<li>view-success\n<li>view-warn\n<li>zg-version\n</ul>","name":"type"},{"type":"Object","description":"Options for the data retrieval. Options are:\n<ul>\n<li>cancel: Text for the Cancel Button\n<li>confirm: Text for the Confirm Button\n<li>title: The Title to display on the Dialog\n</ul>","name":"config"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-customizeDialog","category":"Method"}]},"ZGColumn":{"methods":[{"name":"column","description":"Fetches the targeted column.","type":null,"demoLink":"https://app.zingsoft.com/demos/create/YG2ADVW8","acceptedValues":[],"displayValues":[],"params":[{"type":"Array","description":"Field index of column to fetch.","name":"fieldIndex"}],"returns":[{"type":"Object","description":"Column object."}],"tagName":"zing-grid","fullName":"zing-grid-method-column","category":"Method"},{"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"},{"type":"String","description":"Filter string.","name":"filter"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-filterColumn","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getColClass","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenColumnsLeft","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenColumnsRight","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getHeaderAutoFormat","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getNestedDataSeparator","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-hideColumn","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setColClass","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setColumns","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setColumnsControl","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenColumnsLeft","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenColumnsRight","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setHeaderAutoFormat","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setNestedDataSeparator","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-showColumn","category":"Method"},{"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"},{"type":"String","description":"Sort Direction: asc, desc, or none","name":"direction"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-sortColumn","category":"Method"},{"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"},{"type":"Boolean","description":"Visibility of column","name":"hide"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-toggleColumn","category":"Method"}]},"ZGSelector":{"methods":[{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getSelectedRows","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getSelector","category":"Method"},{"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"},{"type":"String","description":"Column of cell to select","name":"colIndex"},{"type":"String","description":"Optional end cell row for multi-cell selection","name":"endRowIndex"},{"type":"String","description":"Optional end cell column for multi-cell selection","name":"endColIndex"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-select","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setSelector","category":"Method"}]},"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-firstPage","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getPageIndex","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getPageSize","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getPageSizeCard","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getPageSizeRow","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getPager","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-lastPage","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-nextPage","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-prevPage","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageIndex","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageSize","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageSizeCard","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageSizeOptions","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setPageSizeRow","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setPager","category":"Method"}]},"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getCaption","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setCaption","category":"Method"}]},"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:\n<ul>\n<li>csv: Boolean indicating if it should be sent as a csv string. Default is false.</li>\n<li>headers: Boolean indicating if headers should be included. Default is false.\n Only applies to csv or JSON array of arrays as JSON objects have a key already.</li>\n<li>cols: String indicating if we should return all columns or only visible. 'all' or 'visible' are options.\n<li>rows: String indicating if we should return all rows or only filtered/searched. 'all' or 'visible' are options.\n</ul>","name":"config"}],"returns":[{"type":"Array | Object","description":"The dataset."}],"tagName":"zing-grid","fullName":"zing-grid-method-getData","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getSrc","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getTemplateEndDelimiter","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getTemplateStartDelimiter","category":"Method"},{"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"},{"type":"String","description":"If the id is already set on the new record, pass it in here","name":"id"},{"type":"Boolean","description":"If you only want to do a local insert, set `noDataSource` to \"true\"","name":"noDataSource"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-insertRow","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-refresh","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-refreshGrid","category":"Method"},{"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"},{"type":"Boolean","description":"If you only want to remove from the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-removeRecord","category":"Method"},{"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"},{"type":"Boolean","description":"If you only want to remove from the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-removeRow","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setData","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setSrc","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setTemplateEndDelimiter","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setTemplateStartDelimiter","category":"Method"},{"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"},{"type":"Number","description":"Field index of the cell to update","name":"fieldIndex"},{"type":"*","description":"New Value","name":"val"},{"type":"Boolean","description":"If you only want to update the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-updateCellByID","category":"Method"},{"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"},{"type":"Number","description":"Column index (0 based) of the cell to update","name":"columnIndex"},{"type":"*","description":"New Value","name":"val"},{"type":"Boolean","description":"If you only want to update the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-updateCellByPosition","category":"Method"},{"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"},{"type":"Object","description":"Data to update","name":"data"},{"type":"Boolean","description":"If you only want to update the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-updateRecord","category":"Method"},{"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"},{"type":"Object","description":"Data to update","name":"data"},{"type":"Boolean","description":"If you only want to update the grid and not the external datasource, set `noDataSource` to \"true\"","name":"noDataSource"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-updateRow","category":"Method"}]},"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getSearch","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-searchGrid","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setSearch","category":"Method"}]},"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"},{"type":"Number","description":"The index of the column fetch.","name":"columnContainerIndex"}],"returns":[{"type":"Object","description":"Cell object."}],"tagName":"zing-grid","fullName":"zing-grid-method-cell","category":"Method"},{"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."}],"tagName":"zing-grid","fullName":"zing-grid-method-getCellBreak","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getCellClass","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getCells","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getColumnDrag","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getDefaultDisplay","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setCellBreak","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setCellClass","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setDefaultDisplay","category":"Method"}]},"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenRowClass","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenRowsBottom","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getFrozenRowsTop","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getRowClass","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getZebra","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-openRowEditor","category":"Method"},{"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"}],"returns":[{"type":"Object","description":"Row object."}],"tagName":"zing-grid","fullName":"zing-grid-method-row","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenRowClass","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenRowsBottom","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setFrozenRowsTop","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setRowClass","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setZebra","category":"Method"}]},"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-closeContextMenu","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getColumnsControl","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getContextMenu","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getStaticMenu","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setContextMenu","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setStaticMenu","category":"Method"}]},"ZingGrid":{"methods":[{"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"},{"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"}],"returns":[{"type":"Undefined","description":"N/A"}],"tagName":"zing-grid","fullName":"zing-grid-method-executeOnLoad","category":"Method"},{"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"},{"type":"String","description":"The tokenized format to format the date","name":"format"}],"returns":[{"type":"String","description":"The formatted date"}],"tagName":"zing-grid","fullName":"zing-grid-method-formatDate","category":"Method"},{"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"},{"type":"Boolean","description":"Indicates if we should include 'ago/to' to indicate past/future","name":"raw"}],"returns":[{"type":"String","description":"The formatted date"}],"tagName":"zing-grid","fullName":"zing-grid-method-fromNow","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getColumnDragAction","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getCompact","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getDir","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getGridlines","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getHeight","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getLang","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getPreserveStateId","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getPreserveStateLoad","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getPreserveStateOptions","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getPreserveStateSave","category":"Method"},{"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"}],"tagName":"zing-grid","fullName":"zing-grid-method-getWidth","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setColumnDrag","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setColumnDragAction","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setCompact","category":"Method"},{"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"}],"returns":[{"type":"ZingGrid","description":"Returns the component so that you can chain methods together"}],"tagName":"zing-grid","fullName":"zing-grid-method-setDir","category":"Method"},{"name":"setGridlines","description":"Sets the `gridlines` attribute","type":null,"demoLink":"https://app.zi