Author Topic: Setting selectionModel.type and .mode to null does not work?  (Read 2698 times)

ronperkins

  • Newbie
  • *
  • Posts: 4
    • View Profile
Setting selectionModel.type and .mode to null does not work?
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Setting selectionModel.type and .mode to null does not work?
« Reply #1 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/
« Last Edit: January 11, 2016, 08:58:31 pm by paramquery »