ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: noctrona on June 24, 2015, 12:37:57 pm

Title: Can't find "pq-grid-col-indx" with new version
Post by: noctrona 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!
Title: Re: Can't find "pq-grid-col-indx" with new version
Post by: paramvir 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;
}
Title: Re: Can't find "pq-grid-col-indx" with new version
Post by: noctrona 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.