Bootstraps grids from code

Hello,

The Bootstrap Grid (GridRow / GridColumn) is easy to use on the design interface, but I’ve been finding not as easy to create such grids on the fly, based on the data loaded from an external source or local storage. Are there any NSB functions that would allow the programmatic creation of gridRows and gridColumns?

So far I’ve been creating the DOM elements from scratch and appending them to the DOM, but it requires a lot of code and controlling which one should be appended to which one takes time.

Thanks
Ricardo

There are no helper functions for this in AppStudio.

Are you trying to create a real dynamic grid? A grid control, like DataTable, might be a better tool.

Thanks, I’ll give it a try.