Table with button in each row
Hi guys, could use few tips on how to handle a little problem of mine.
I have a bootstrap-table that has a button in each row.
I would like that on click of the button, it would take the id of the row and change corresponding value in database. Except i am unsure how would be best to handle the ton of buttons with nette.
So far I thought about generating the button with hidden input that would have the row id in itself but not completely sure how exactly that would work.
How would you guys implement this?
Hi @MrLlama can you send a screenshot of your rows.
Sorry for slow response,
Here you go.
- Member | 325
@MrLlama Have a look at Multiplier
- Member | 128
@MrLlama maybe you can just use some of existing datagrid
https://github.com/…tte/datagrid has all this already implemented and much more
@dkorpar I have tried all kings of nette datagrids. Best one for me would be mesour, but I have been unable to make that one work on nette 3.0, tried learning contributte, and when i finally got it working I found out, that their implementation of treeView is not enough for what i need. I require ability to collapse and expand rows into new tables, not same rows as parent row.