Right side border with fixed columns and no scroll bar

Right side border with fixed columns and no scroll bar

brianKbrianK Posts: 9Questions: 5Answers: 0

Is there a way to enable a right side border when using fixed column scrolling? If a scroll bar is not present, there is no border on the right side. This is especially prelevent on a white background. You can see what I mean in this jsfiddle:. Resize the right side pane to be bigger so you can see the right hand side of the table in the results. http://jsfiddle.net/briank/Gv4pF/40/

Answers

  • brianKbrianK Posts: 9Questions: 5Answers: 0

    I forgo to add that if I add a border around the whole thing, it includes the header and footer. I think it would look better with a border just around the table body. I tried adding a style to <tbody> but it did not work.

  • allanallan Posts: 61,743Questions: 1Answers: 10,111 Site admin

    You could use div.DTFC_LeftBodyLiner { border-left: 1px solid red; }. You might need to also add box-sizing: border-box although there is a risk of the column widths getting slightly misaligned by that.

    Allan

This discussion has been closed.