Changing Cell Colour

Ask our community for help with v1.x versions of our products.
User avatar
odedg
Posts: 23
Joined: Tue Jan 19, 2016 4:05 pm

Re: Changing Cell Colour

Post by odedg » Wed Jan 20, 2016 9:44 am

Hey,
I'm looking for a way to change my View's cell's background.
Currently im doing that by running on my task store, i wanted to find the event before each cell is rendered to optimize my code.
I dont think using resourceZone is the answer.
could you advise ?
Best regards, Oded.

User avatar
mats
Premium Member
Premium Member
Posts: 15621
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Changing Cell Colour

Post by mats » Wed Jan 20, 2016 9:45 am

Are you using Gantt 1.x?
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

User avatar
odedg
Posts: 23
Joined: Tue Jan 19, 2016 4:05 pm

Re: Changing Cell Colour

Post by odedg » Wed Jan 20, 2016 9:46 am

Nop, 4.x.

Sorry I did not mentioned that.

User avatar
mats
Premium Member
Premium Member
Posts: 15621
Joined: Sat Dec 19, 2009 11:41 pm
Location: Sweden
Contact:

Re: Changing Cell Colour

Post by mats » Wed Jan 20, 2016 9:48 am

Please post in the correct forum then :)

See Sencha docs for GridView#getRowClass and GridColumn#renderer to do cell/row coloring

http://docs.sencha.com/extjs/6.0/6.0.0- ... g-renderer
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog

@bryntum
Facebook
API documentation

Post Reply