How to include vertical line to GridPanel?
I have found this thread:
http://extjs.com/forum/showthread.php?t=14211
But still do not know how to do it.
Can anyone help? Thanks in advance.
.something .x-grid3-col {
Haven't used this one myself. I recall seeing the problem with others though. Your screenshot doesn't really show, but is it a constant difference the columns are off, or does it grow as you go across the columns (perhaps growing by 1 px?).
Fair comment :)
Excuse me, I was being v. lazy.. I have success with the following:
/* Override standard grid styles (add colour to vertical grid lines) */
.x-grid3-col {
border-left: 1px solid #EEEEEE;
border-right: 1px solid #D2D2D2;
}
/* Also remove padding from table data (to compensate for added grid lines) */
.x-grid3-row td, .x-grid3-summary-row td {
padding-left: 0px !important;
padding-right: 0px !important;
}
Michael, Have you had much success with that method - I've not seen a method yet that doesn't misalign the columns and the cells.
fangzhouxing, how are you getting on - any misalignment for you?
This is the issue I have:
9534
cls : 'vline-on'
and the css change to :
/* Override standard grid styles (add colour to vertical grid lines) */
.vline-on .x-grid3-col {
border-left: 1px solid #EEEEEE;
border-right: 1px solid #D2D2D2;
}
/* Also remove padding from table data (to compensate for added grid lines) */
.vline-on .x-grid3-row td, .x-grid3-summary-row td {
padding-left: 0px !important;
padding-right: 0px !important;
}
#If you have any other info about this subject , Please add it free.# |