New release of Light Grid
Light Grid 0.3.0 is hot off the press! This version, similarily to the previous one, comes with a bunch of breaking changes, but we’re getting very close to the stable version. My backlog has several new features and no more changing of major parts.
The most important new features:
- The
lg-griddirective can be used only as an attribute. However, is does not have to be places on atabletag – Light Grid can be now built using arbitrary markup. - The
lg-column,lg-column-templatesandlg-header-viewdirectives are removed. Instead,lg-rowis introduced. This looks like quite a big change, but it should be pretty easy to update the existing code: place thelg-rowon an element that needs to be repeated for each data item (like atrtag) and just use plain HTML tags inside. See the demos and docs for more details. This makes it really easy to create complex grids (with colspans and rowspans). - Row scope’s properties such as
rowData,rowController,viewandviewModelgot grouped into therowobject withdata,controller,viewandviewModelfields.
There are several more changes – see the changelog for more info.
As always, I encourage you to check out the docs, samples and source code. All feedback will be much appreciated.
Have fun using the Light Grid!
Comments