Hello I use smartclient . I want increase width of rowNumber because my listgrid have 400000 record and default rownumber width is 30 pixel that is very little. i add width to specialCol class is skin_styles.css but nothing happens.
.specialCol,
.specialColOver,
.specialColSelected,
.specialColSelectedOver,
.specialColDisabled {
background-color: #fafafa;
color: #000000;
line-height: 22px;
width: 100px;
}
i change rowNumberStyle in listgrid but but nothing happens.
var ListGrid_test = isc.ListGrid.create({ width: "100%", height: "60%", dataSource: testDS, baseStyle: "myBoxedGridCell", alternateRecordStyles:true, alternateFieldStyles: false, showRowNumbers : true, rowNumberStyle :"myBoxedGridCellRow", applyRowNumberStyle: true, alternateRecordStyles:true, .......
that css is
.myBoxedGridCellRow,myBoxedGridCellRowSelected .myBoxedGridCellRowDark { font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px; color:black; width: 100px; border-bottom:1px solid #a0a0a0; border-right:1px solid #a0a0a0; background-color:#ffffff; }
i view html source generate by smartclient framework , only when i change colgroup width manually,rownumber field width changed.
<table role="presentation" border="0" width="1680" id="isc_BNtable" class="listTable" cellspacing="0" cellpadding="2" style="table-layout:fixed;overflow:hidden;padding-right: 0px;padding-left:0px;">
<colgroup>
<col width="30"> // change this row
<col width="100">
<col width="100">
<col width="150">
</colgroup>
....
plz help me that how to change rownumber filed width in listgrid Thank you.
.specialCol,
.specialColOver,
.specialColSelected,
.specialColSelectedOver,
.specialColDisabled {
background-color: #fafafa;
color: #000000;
line-height: 22px;
width: 100px;
}
i change rowNumberStyle in listgrid but but nothing happens.
var ListGrid_test = isc.ListGrid.create({ width: "100%", height: "60%", dataSource: testDS, baseStyle: "myBoxedGridCell", alternateRecordStyles:true, alternateFieldStyles: false, showRowNumbers : true, rowNumberStyle :"myBoxedGridCellRow", applyRowNumberStyle: true, alternateRecordStyles:true, .......
that css is
.myBoxedGridCellRow,myBoxedGridCellRowSelected .myBoxedGridCellRowDark { font-family:Verdana,Bitstream Vera Sans,sans-serif; font-size:11px; color:black; width: 100px; border-bottom:1px solid #a0a0a0; border-right:1px solid #a0a0a0; background-color:#ffffff; }
i view html source generate by smartclient framework , only when i change colgroup width manually,rownumber field width changed.
<table role="presentation" border="0" width="1680" id="isc_BNtable" class="listTable" cellspacing="0" cellpadding="2" style="table-layout:fixed;overflow:hidden;padding-right: 0px;padding-left:0px;">
<colgroup>
<col width="30"> // change this row
<col width="100">
<col width="100">
<col width="150">
</colgroup>
....
plz help me that how to change rownumber filed width in listgrid Thank you.
Comment