Author Topic: Make a fixed column look and behave like a header row  (Read 724 times)

jplevene

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 210
    • View Profile
Make a fixed column look and behave like a header row
« on: March 11, 2026, 02:45:33 am »
I have one fixed column in a grid and I want it's cells to behave and look like column header cells (same background, same font and not selectable).  How do I do this?
« Last Edit: March 11, 2026, 02:54:09 am by jplevene »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6552
    • View Profile
Re: Make a fixed column look and behave like a header row
« Reply #1 on: March 11, 2026, 10:59:44 pm »
There is no inbuilt option for that.

you can do it manually by inspecting the styles of header cells and copying them to the body cells.

These options may be of help

https://paramquery.com/pro/api#option-column-skipFocus

https://paramquery.com/pro/api#option-focusModel

jplevene

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 210
    • View Profile
Re: Make a fixed column look and behave like a header row
« Reply #2 on: March 11, 2026, 11:20:02 pm »
It's not focus I want to skip on the column, it is select

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6552
    • View Profile
Re: Make a fixed column look and behave like a header row
« Reply #3 on: March 12, 2026, 11:06:45 pm »
Editability and cell navigation can be controlled at the column level (for example, using `editable` or `column.skipFocus`). However, the **cell selection overlay itself cannot be controlled at the column level**.

Selection behavior is handled by the grid’s global `selectionModel`, so the overlay applies uniformly across the grid rather than being configurable per column or per cell.

jplevene

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 210
    • View Profile
Re: Make a fixed column look and behave like a header row
« Reply #4 on: March 13, 2026, 03:14:34 pm »
I have added a feature request as other grids have have ways to disable cell selection.