Row property from DB
Row property from DB
Can anyone tell me, if it is possible?
I have this table in DB:
Name | Age | Color
----------------------------
John | 27 | #00ff00
Jane | 24 | #00ffff
George | 14 | #ff0000
How can I make the sortable table, where every row has the color from DB? Thank you very much
This is output which I want:
Name (sortable column) | Age (sortable column)
--------------
John | 27 -- this row has background-color #00ff00
Jane | 24 -- this row has background-color #00ffff
George | 14 -- this row has background-color #ff0000
I have this table in DB:
Name | Age | Color
----------------------------
John | 27 | #00ff00
Jane | 24 | #00ffff
George | 14 | #ff0000
How can I make the sortable table, where every row has the color from DB? Thank you very much
This is output which I want:
Name (sortable column) | Age (sortable column)
--------------
John | 27 -- this row has background-color #00ff00
Jane | 24 -- this row has background-color #00ffff
George | 14 -- this row has background-color #ff0000
This discussion has been closed.
Replies