作成日: 2014/10/07 最終更新日: 2024/10/01
文書種別
使用方法
詳細
GridViewにおいてClientSelectionModeプロパティを"SingleRow"や"SingleColumn"などに設定した場合、選択された行またはセルの背景色を変更するには下記のようにCSSにて指定します。
◎サンプルコード (CSS)
上記のような背景色と同様に枠線の色を設定するには、下記のCSSを設定してください。
◎サンプルコード (CSS)
◎サンプルコード (CSS)
<style type="text/css">
.wijgridtd.ui-state-highlight .wijmo-wijgrid-innercell {
background-color: Blue !important;
}
</style>
.wijgridtd.ui-state-highlight .wijmo-wijgrid-innercell {
background-color: Blue !important;
}
</style>
上記のような背景色と同様に枠線の色を設定するには、下記のCSSを設定してください。
◎サンプルコード (CSS)
<style type="text/css">
.wijmo-wijgrid tr.wijmo-wijgrid-row td.ui-state-highlight {
border-top-color: lightgray !important;
border-right-color: lightgray !important;
}
</style>
.wijmo-wijgrid tr.wijmo-wijgrid-row td.ui-state-highlight {
border-top-color: lightgray !important;
border-right-color: lightgray !important;
}
</style>
旧文書番号
80983