Author Topic: Can't find "pq-grid-col-indx" with new version  (Read 3783 times)

noctrona

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 82
    • View Profile
Can't find "pq-grid-col-indx" with new version
« on: June 24, 2015, 12:37:57 pm »
Hi team,

I just use 2.4.1 in my page. And my last version is 2.0.4.

With my last version, there is a attribute in each column (pq-grid-col-indx), then I can use this attribute set the color for the corresponding column but only for the head row.

As the following code:
Code: [Select]
[pq-grid-col-indx="11"]{
    background-color: #8B008B;
    color: white;
}


But now when I used 2.4.1, I can't find this attribute any more. I only have the "pq-col-indx". And if I use this attribute, the whole column will have color not the head row.

So is that any way can only change the bg color for grid head ?


Thank you!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Can't find "pq-grid-col-indx" with new version
« Reply #1 on: June 24, 2015, 01:47:39 pm »
Class of grid header cell can be combined with it to make the rule applicable to grid header cell only.

.pq-grid-col[pq-col-indx="11"]{
    background-color: #8B008B;
    color: white;
}

noctrona

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 82
    • View Profile
Re: Can't find "pq-grid-col-indx" with new version
« Reply #2 on: June 24, 2015, 02:47:32 pm »
Class of grid header cell can be combined with it to make the rule applicable to grid header cell only.

.pq-grid-col[pq-col-indx="11"]{
    background-color: #8B008B;
    color: white;
}

It works now. Thanks for your answer.