ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: kiwon34 on August 14, 2018, 12:32:35 pm

Title: Changing background of selected row & mouse hover color
Post by: kiwon34 on August 14, 2018, 12:32:35 pm
Hi,

  I'm using paramquery pro version 5.1
1. I want to change the selected row's background color, and when selecting another row, previous row's color should return to default, and only selected row's color should be changed.
Any simple way to do this?

2. Another question is, when mouse hover a specific row, I want to change that row's background color.

http://jsfiddle.net/z9afL0hk/1/ -> This is an example I used.
Title: Re: Changing background of selected row & mouse hover color
Post by: paramvir on August 14, 2018, 10:19:41 pm
1. you mean you want to be able to select only one row at a time.

use selectionMode.mode = 'single'

2. use hoverMode: 'row'

http://jsfiddle.net/z9afL0hk/5/