Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
Custom Drawn Groupby boxes
posted

I've checked all examples and the forums, can't seem to find an example of this.

I'm using Wingrid to display a bunch of information, and when I user selects a column to do group by (outlook style) i want to do the following:

1. capture whatever event it is that will tell me the groupby is happening

2. iterate all of the groupby headers and get the "counts" they are about to display

3. Pick the largest count, then change all of the counts to be a percentage of this largest count (instead of it saying 'Count 6', i want '75% of Max')

4. I would also like to draw a color bar in the group by header that is the length of the percentage (I"m creating a histogram on the group by headers)

 can someone point me in the right direction?

thanks