ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: pbassey on November 26, 2022, 08:00:54 pm

Title: Dashed Borders around columns
Post by: pbassey on November 26, 2022, 08:00:54 pm
Is there any way to put a dashed border line around specific columns?  I see the columnBorders property, but there is no examples of how to use it.

Thanks,
Peter
Title: Re: Dashed Borders around columns
Post by: paramvir on November 28, 2022, 06:42:29 am
custom borders can be put around specific columns with help of Range().style() method.

Example:

Code: [Select]
grid.Range("B:B").style("border-left", "1px dotted red");
grid.Range("B:B").style("border-right", "1px dotted red");

columnBorders property is to draw borders around all columns.