I don't know what to correctly call them - ratio-bars, percentage-bars?
As example, I can provide this:
http://mleibman.github.com/SlickGrid/examples/example2-formatters.html
Look at the column compelete %
.
How to do this in jqGrid?
I don't know what to correctly call them - ratio-bars, percentage-bars?
As example, I can provide this:
http://mleibman.github.com/SlickGrid/examples/example2-formatters.html
Look at the column compelete %
.
How to do this in jqGrid?
If you look in the code of SlickGrid demo you will see that it uses formatter: Slick.Formatters.PercentCompleteBar
defined in slick.formatters.js. The code of PercentCompleteBarFormatter
is clear enough. If it's what you need you can rewrite the code as custom formatter of jqGrid.
The answer provide close implementation of percentage-bars. Probably it's what you need. The answer is old enough. It can be that you need make some small modification to include support of new versions of web browsers.