zinggrid
Version:
ZingGrid - A fully-featured, native, web-component, data table and grid for Javascript applications.
1 lines • 2.67 kB
JSON
[{"name":"adapter","description":"Adapter is a shortcut to set known options for specific third party datasets. Currently supports `graphql` and `firebase`.\nDevelopers could register their own custom adapters. For more information on custom adapters, visit Guides > ZingGrid Object > registerAdapter().","type":"String","fullName":"zg-data-adapter","demoLink":"https://app.zingsoft.com/demos/create/36KGT9LR","default":"\"\"","acceptedValues":["<string>"],"displayValues":["\"firebase\"","\"graphql\""],"values":[],"category":"Attribute","tsType":"","internalDocs":"","tagName":"zg-data"},{"name":"data","description":"Data for the grid presented as an array or object. If set as an attribute value, the\ndata needs to be in JSON format.","type":"Object","fullName":"zg-data-data","demoLink":"https://app.zingsoft.com/demos/create/BXPENKMP","default":"\"\"","acceptedValues":["<array","object>"],"displayValues":["[{\"firstName\": \"John\", \"lastName\": \"Doe\"}]"],"values":[],"category":"Attribute","tsType":"","internalDocs":"","tagName":"zg-data"},{"name":"id-key","description":"In the case of non-key based objects, the idKey can be set to indicate the id to send back to the datasource on CRUD commands.\nFor example, if the READ URL was https://zinggrid-named.firebaseio.com/ then the UPDATE would be https://zinggrid-named.firebaseio.com/VALUE_OF_IDKEY.","type":"String","fullName":"zg-data-idKey","demoLink":"https://app.zingsoft.com/demos/create/NKCF2H81","default":"\"id\"","acceptedValues":["<string>"],"displayValues":["\"state\""],"values":[],"category":"Attribute","tsType":"","internalDocs":"","tagName":"zg-data"},{"name":"options","description":"Used to set `<zg-param>`, the configuration data for `<zg-data>`. This should never be used directly as an attribute and\nis meant for object instantiation and for setting in JavaScript.","type":"Object","fullName":"zg-data-options","demoLink":"https://app.zingsoft.com/demos/create/9AODYVJT","default":"{}","acceptedValues":["<object>"],"displayValues":["{\"idKey\":\"state\",\"sortDirKey\":\"_order\",\"sortDir\":\"desc\",\"sortByKey\":\"_sort\",\"sortBy\":\"capital\",\"src\":\"https://zinggrid-named.firebaseio.com/\"}"],"values":[],"category":"Attribute","tsType":"","internalDocs":"","tagName":"zg-data"},{"name":"src","description":"Specifies the absolute or relative URL to fetch data from to populate the grid","type":"String","fullName":"zg-data-src","demoLink":"https://app.zingsoft.com/demos/create/R2K22X2Q","default":"\"\"","acceptedValues":["<string>"],"displayValues":["\"https://url-to-your-api\""],"values":[],"category":"Attribute","tsType":"","internalDocs":"","tagName":"zg-data"}]