cancel
Showing results for 
Search instead for 
Did you mean: 

Highlight required data in Grid

Former Member
0 Kudos

Hi,

As the selected row gets highlighted in the Grid, same way, how can I highlight the row having specific data?

or in other words how can i make the row having specific data

as "selected" without clicking by mouse.

e.g - the row having the value "abc" should get selected or highlighted.

Thanks,

Anil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

How about

document.iGrid.getGridObject().setSelectedRow(ROWNUMBER)?

Try and see if it works.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anil,

You can do by giving a color to that row.

Suppose: Column abc have values 0 and others.

If it is 0, you can assign one color and not zero you can assign some other color.

How to do this i am explaining below:

In Display Template goto Color Context and in the Match Column Name field put any column name abc and in the match color field select any color and in Match Value field give the value and set everything.

In your grid, you can see rows are distinguished by colors.

Try this.

Thanks,

Manisha