How To Highlight Text In Clistviewgrid

hello all…

  • i want to highlight my grid,

  • when i search keyword "books"

data in grid will highlight where keyword is "books"

my question : how to highlight text in clistviewgrid ?

thanks all…


You can call getData() from the dataProvider, iterate over it, highlight columns (add span tags or others). Then put it back using setData() and then pass that dataProvider to the list view widget.

Or you could define your own formatter class that would higlight values and use it in your list view.