Author Topic: Remove cell selection border  (Read 432 times)

pranit@srcomsec

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 99
    • View Profile
Remove cell selection border
« on: January 18, 2023, 02:24:24 pm »
1) We are getting a cell selection border when right click & open the context menu. See the screenshot attached with the cell value as "4".
2) cell focus border in arrow up/down/left/right.  See the screenshot attached with the cell value as "-0.10".

The selectionModel we pass grid property as below.

Code: [Select]
selectionModel: { type: 'row', mode: 'block', column: false, row: true }

We need to remove the selected cell border. Please advise.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Remove cell selection border
« Reply #1 on: January 18, 2023, 06:21:47 pm »
Remove cell focus border with css

Code: [Select]
.pq-focus{
border-color: transparent !important;
}

Add this to contextMenu definition for no cell selection with contextmenu:

Code: [Select]
contextMenu{
  init: function(){},
  ....
}

pranit@srcomsec

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 99
    • View Profile
Re: Remove cell selection border
« Reply #2 on: January 18, 2023, 07:53:26 pm »
Thank you. It is working.