ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: queensgambit9 on November 09, 2017, 08:02:00 pm
-
How do you control the visual appearance in the grid?
Ex: When you manually click to sort a column the title cell change color. Can this be controlled by settings etc?
-
There are lot of examples on how to control the appearance of grid body cells and rows ( conditional and non conditional ) by column.render, rowInit, pq_cellattr, pq_rowattr, pq_cellcls, etc.
For header title cells, it can be done only by adding a css class in column or by implementing column.title as a callback.
For example grid title cell appearance can be changed for filtered columns:
https://paramquery.com/forum/index.php?topic=2400.0
For sorting the logic would be similar to above except you use sort event and use ui.sorter inside the event to get information about sorted columns.
-
Thanks, my post also though :).
I was more after how jQuery Theme behaviour can be controlled I guess...like when you click on sort I would like to control how it behaves.