Row property from DB

Row property from DB

GawainGawain Posts: 5Questions: 1Answers: 0
edited October 2010 in General
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

Replies

This discussion has been closed.