rstaib / jquery-bootgrid

Nice, sleek and intuitive. A grid control especially designed for bootstrap.
http://www.jquery-bootgrid.com
MIT License
972 stars 364 forks source link

Can't access column data when data-visible attribute is set to false #361

Open l0stb0y opened 7 years ago

l0stb0y commented 7 years ago

So I was trying to condense a grid with a lot columns by setting the visible attribute to false. When that happens, I can't see the col (yeah!) but I also can't read data from the column either.

bellwood commented 7 years ago

I just "re-opened" #110 for this exact reason.

bellwood commented 7 years ago

So the "cleanest" method I've come up with is to create a span with an ID of row.id + "-notes" and a class of hidden next to the command button that shows the notes.

I can then directly access the notes via the ID in jQuery during the click event.