ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: xin on August 13, 2014, 06:11:14 pm
-
Hi,
I am use the paramquery 2.0.4. I need to draw a heavy vertical border line for a particular column (ex. column #6). I have 2 questions:
1. Will you be able to provide sample code?
2. Will you be able to provide sample on how to retrieve first visible column # from the horizontal scroll bar position ?
Thanks.
-
1) Right border of a column can be drawn with css rule ( border-right ) by assigning a class to the column.
http://paramquery.com/pro/api#option-column-cls
2) you can get colIndx of first visible column from ui.initH property in beforeTableView event.
http://paramquery.com/pro/api#event-beforeTableView
-
Xin
I've put up an example to draw a column border for you.
http://jsfiddle.net/paramquery/wruocf6t/2/
Please let me know if you need any further assistance.