Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1878
No left border after disabling row selectors
posted

Hi,

I'm using WebGrid instead of an ordinary HTML-table thus I don't need the row selectors but when I set 'Row Selectors' to 'Do not Show' I'm missing the left border of the very left column. I searched through the settings but couldn't find any that seems to influence that border. I did a workaround by inserting a dummy column with width set to 0px which works but that looks also a little odd since I realize that there is a small gap due to the additional column. I'm using NetAdvantage 8.2.

Does anyone know how to set this?

Thanks in advance,
  Wolfgang

Parents
  • 28464
    posted

    Hello Wolfgang,

    I think I was able to reproduce the problem you experience. The problem appears when you remove the default FrameStyle collection from the grid DisplayLayout setting. Putting the FrameStyle back solves the problem (no missing left border for leftmost column). Is it possible to use FrameStyle instead of the fake first column, e.g.

            <displaylayout bordercollapsedefault="Separate" name="UltraWebGrid1"
                rowheightdefault="20px" version="4.00" RowSelectorsDefault="No">           
                <framestyle borderstyle="Solid" borderwidth="1px" font-names="Verdana"
                    font-size="8pt" width="825px">

                </framestyle>

     Width and Height of the frame style can match the width and height of the grid itself.

Reply Children