direct-fuel-injection / bbGrid

Grid system on Backbone.js and Bootstrap, sure jQuery :)
http://direct-fuel-injection.github.com/bbGrid
138 stars 59 forks source link

Hide/Show rows programatically #69

Open rumeau opened 10 years ago

rumeau commented 10 years ago

Is it possible to hide rows from a grid programatically?

I'm using bbGrid as a row picker, i open the grid in a modal popup, then select a row, and click an action button to add this row to my form (populate form fields with model data), then close the modal popup.

What i need is to hide the row i just added from the grid, so if i want to add another row i wont select the same row twice.

I want to add the hidden row ID or CID to an internal registry, so if i remove the added row from my form, then i can show the row in bbGird again.

Is there a way to achieve this.

direct-fuel-injection commented 10 years ago

No proper ways to do it right now, only if model not in collection.