Skip to content

Infragistics Community Forum / Web / Ignite UI for Angular / Adding cell vertical border lines to an igx-grid

Adding cell vertical border lines to an igx-grid

New Discussion
Jeff Kelso
Jeff Kelso asked on Dec 18, 2020 7:01 AM

Hi Infragistics Support,

Is there any way I can add cell vertical border lines to an igx-grid to make in cell more apparent?

Thanks,

JK

Sign In to post a reply

Replies

  • 0
    Malin Hadzhiev
    Malin Hadzhiev answered on Dec 17, 2020 2:12 PM

    Hello Jeff,

    Thank you for contacting Infragistics Support.

    I believe you will find the following sample very helpful in order to achieve your requirement. As you can observe, I am using the cell's role attribute which is ‘gridcell’ as follow:

         [role=”gridcell”]{

            border-left: solid 1px black;

            border-right: solid 1px black;

         }

    In case you want to add vertical border lines to the cells in the header row you can use the classes ‘igx-grid__th–fw’ and ‘igx-grid__td–fw’. This approach I left as a comment on the provided sample.

    Please have a look at the provided sample and if it is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me for further investigation.

    Looking forward to hearing from you.

    Regards, 

    Malin Hadzhiev

    Entry Level Software Developer

    Infragistics 

    • 0
      Jeff Kelso
      Jeff Kelso answered on Dec 17, 2020 6:35 PM

      Thank you Malin! It's exactly what the users are looking forward.

      I appreciate the great support as always.

      JK

      • 0
        Malin Hadzhiev
        Malin Hadzhiev answered on Dec 18, 2020 7:01 AM

        Hello Jeff, 

        I am glad that you find my suggestion helpful and were able to solve your issue.

        Thank you for using Infragistics components.

        Best Regards,

        Malin Hadzhiev,

        Entry Level Software Developer

        Infragistics

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Jeff Kelso
Favorites
0
Replies
3
Created On
Dec 18, 2020
Last Post
5 years, 2 months ago

Suggested Discussions

Tags

Created by

Created on

Dec 18, 2020 7:01 AM

Last activity on

Feb 25, 2026 10:45 AM