Get The Most Out Of ZingGrid v1.4.0

ZingGrid v1.4.0 is here! We have been working hard these last few months on several new features and options that we think will really help you get the most out of ZingGrid! Check out some of our most recent new features:

ZingGrid now has the ability to preserve its state by setting the preserveStateId  attribute on your grid. Grids that share the same preserveStateId will share states.

For a full list of states that the grid preserves, check out the docs (https://www.zinggrid.com/docs/features/grid-state-persistence).

To only preserve some states, use the preserveStateOptions attribute to specify states to persist.

A picture showing preserveStateOptions attribute

We’ve also now added support to use an HTML table as a grid data source. Easily convert an HTML table to a ZingGrid by adding [is="zing-grid"] to the <table> tag.

There are also two alternative ways to use an HTML table as a data source:

- Wrap the <zing-grid> tag around the <table> element

- Set ZingGrid[data] to the selector of the HTML table

  • After, take advantage of the grid features to visualize your table data.

Check out more about using HTML table as a data source (https://www.zinggrid.com/docs/data/html-table).

Check out all the grid features here (https://www.zinggrid.com/features).

ZingGrid now supports CSV and XML data and can detect the type of its data source. However, ZGParam[name="dataType"] is added if you choose to specify the static data type.

A picture showing how CSV and XML data utilize ZGParam[name="dataType"]

For CSV data sources, check out the CSV docs (https://www.zinggrid.com/docs/data/csv) to configure how to parse the data.

A picture showing how XML data source type are displayed

We’ve also added the new column type, record duplicate. This will render a column of buttons that will duplicate the row. The duplicated row will be inserted right under the original, making creation and editing much faster and more efficient.

A picture showing the record duplicate feature

Check out our changelogs for all the latest new features and attributes in our library!

If you have any questions or need any help with your grids, please don’t hesitate to reach out to us at support@zinggrid.com or chat with us directly via our online chat at https://www.zinggrid.com. Join our newsletter today to stay informed of all the latest news on our newest features and future projects from the team here at ZingGrid!