optikalefx / OpenJS-Grid

OpenJS Grid is the easiest jQuery Grid ever. With very little work you can have a data grid that can do everything from sorting and searching to complex database queries. Best of all, its open source. So you can learn how it's all done.
http://square-bracket.com/openjs
MIT License
96 stars 46 forks source link

Chained Select #38

Closed ParadiseStudios closed 10 years ago

ParadiseStudios commented 10 years ago

I'm trying to create a chained select drop down list for my editable grid.

ID | TYPE | SIZE | CATEGORY 1 | SELECT BOX 1 | SELECT BOX 2 | SELECT BOX 3

Whatever you select in the first select box changes what is displayed in the other select boxes.

I wanted to pass the $type into the function selectItems($grid, $type) so I could use a WHERE statement in my selects but that didn't work. The JOINS did not work here either.

I have a successful Chained Select working with regular java and mysql but for the life of me cannot make it work for the grid. Figured I'd drop this here and see if anyone had any input on this feature for OpenJS-Grid.

Thanks!

optikalefx commented 10 years ago

This one deserved a video http://www.youtube.com/watch?v=e7v4MYUD8co