ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: ronperkins on January 10, 2016, 06:24:49 am

Title: Setting selectionModel.type and .mode to null does not work?
Post by: ronperkins on January 10, 2016, 06:24:49 am
http://jsfiddle.net/Ljsnm654/

Within Chrome and Firefox (latest versions) setting selectionModel.type to null and selectionModel.mode to null removes the selection highlighting but still puts a border outline around the cell.

Is there a way to fix this?

Thanks
Ron
Title: Re: Setting selectionModel.type and .mode to null does not work?
Post by: paramvir on January 11, 2016, 08:56:36 pm
That border is an indication of focus, which is different from selection and assists in key navigation.

It can be removed with css

Code: [Select]
.pq-grid-cell:focus{
    outline:none;
}

http://jsfiddle.net/Ljsnm654/1/