Discuss issues related to v3.x

Post by hostelsystem »

Can you tell me how to color one row in the grid: http://screencast.com/t/DIXoc3MJ5Ja

Post by Terence »

You could use resourceZones to color up a part (or whole) row of a resource. You have then to specify start- and end dates.

Please take a look at: http://www.bryntum.com/docs/scheduling/ ... ourceZones

You can assign a eventStore to the resourceZone property and add records to it. The event model has a cls property with which you can color up the row.

Post by Nicolas »

Hello,

Using zone to style one row looks a bit like an heavy work around, especially when you already use zones for something else.

Isn't there any way to put some 'Cls' property on the resource and apply it on the DOM like it's the case for Events ?

I'm trying to dig into the code to find where I could plug some code to append a record's 'Cls' property into the row"s DOM.

Any hint is welcome :-)

Post by Terence »


Post by Nicolas »

Perfect !

Many thanks

Post Reply