ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: pranit@srcomsec on January 18, 2023, 02:24:24 pm

Title: Remove cell selection border
Post by: pranit@srcomsec 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.
Title: Re: Remove cell selection border
Post by: paramvir 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(){},
  ....
}
Title: Re: Remove cell selection border
Post by: pranit@srcomsec on January 18, 2023, 07:53:26 pm
Thank you. It is working.