PDA

View Full Version : How to set a background color for a text in gridcell?



filippo.ferrari
21 Feb 2014, 6:05 AM
It's possible to setup color background for a portion of the text rendered in a cellgrid?

After a search on server data I show a grid with n. lines of results. I search for a single word and return data if word is included. I need to render result with this special background where this word appears.

Something similar to this:

47997
But for gridcell text.

How to setup the render function and where i can get search params?

scottmartin
21 Feb 2014, 7:41 AM
Like in this example:
http://docs.sencha.com/extjs/4.2.1/extjs-build/examples/grid/live-search-grid.html

filippo.ferrari
24 Feb 2014, 1:49 AM
Wow...!!!!

Tanks...