Our blazing fast Grid component built with pure JavaScript


Post by henrique »

Can I set custom colors in Grid Stripe? How do I do that?


Post by mats »

Please see https://www.bryntum.com/docs/grid/api/Grid/feature/Stripe

Stripes rows, by adding even (b-even) or odd (b-odd) css classes to row elements.


Post by henrique »

I read the documentation, but it only comments on this part of the CSS classes. What I need to know is if there is any event That I can map to apply a class of mine in stripe, per record?


Post by mats »

Not quite following, you want to add a special background color based on which record it is? Then I would suggest using a column renderer https://bryntum.com/docs/scheduler/api/Grid/column/Column#config-renderer


Post by henrique »

Yes, of course. But the problem is that I would have to put the rendering function in all my columns, not just one function in just one location.

I was looking at the source code, and in Stripe.js, there's a function called onRenderRow, which does what I need, can you make it available for general use?


Post by Animal »

This question has been asked in another forum. There's already an event, we are planning to make it easier: viewtopic.php?f=52&t=19882


Post Reply