Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Adding css class to a button inside a table

Hi Experts,

I have a table in which one column is for quantity left. My requirement is in that column i need to show a small square with different borders like red for less than 500, green for more than 2000,etc.

For the square I thought of making a button of 16pxX16px but adding the margin based on data is the issue.

Please help me out with your suggestions over this.

Thanks,

Mansi

Former Member
Former Member replied

HI Mansi

I have altered the JSBin to handle this

JS Bin - Collaborative JavaScript Debugging

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question