4 ms·
There's plenty of js grids out there that allow you to pass in column definitions. You should try out angular.js, you can build your own directives to support e
by nkerkin 14y ago
There's plenty of js grids out there that allow you to pass in column definitions. You should try out angular.js, you can build your own directives to support expressions like "grid columns=3"
- WayneDB 14y agoRight, but those grids are built up from hacks upon hacks. They are not supported by the platform, except for through indirection.
- nkerkin 14y agoWhy are they hacks? HTML provides a set of well-defined, programmatically accessible, renderable elements which support events. You are free to manipulative them as you see fit. If you want to paint your own controls, you can do that too. It's really not so different from native UI definitions I've used. Due to the different behavior of browsers for handling "native" HTML elements (select lists, radio buttons, etc), I think it's a good thing advanced and opinionated constructs like grids are not built in.