Page 1 of 1

Removing borders from grid with CSS

Posted: Wed Apr 24, 2013 8:57 am
by sgerhardinger
I have created a custom grid widget. I can set the border to 0 in designer and remove the borders. But, I would like to control this with CSS in case a decision is made to display the borders in the future. Can the border be controled with CSS? I have tried many ways and have not been successful.

Re: Removing borders from grid with CSS

Posted: Wed Apr 24, 2013 1:07 pm
by Scott Klement
Unfortunately, no... Our grid widget is not currently set up to use CSS for the borders. But, it can be changed in the designer (as you already know.)

You could also change them on the fly with applyProperty(), though, not sure if that'd be useful to you...

Re: Removing borders from grid with CSS

Posted: Thu Apr 25, 2013 9:46 am
by sgerhardinger
Thanks, any chance of this changing in the future?

Re: Removing borders from grid with CSS

Posted: Thu Apr 25, 2013 11:13 am
by Scott Klement
I can certainly put it in as a feature request, and talk to the rest of the team about it, if you like.

Re: Removing borders from grid with CSS

Posted: Thu Apr 25, 2013 3:02 pm
by sgerhardinger
I think we are sticking with borders for right now, but I think the more you can control with CSS, the better!