作成日: 2016/07/14 最終更新日: 2016/07/14
文書種別
使用方法
詳細
下記のようなスクリプトを設定することにより、各列ヘッダーの背景色を別々の色に指定することができます。
◎サンプルコード(aspx)
◎サンプルコード(aspx)
<script type="text/javascript">
$(document).ready(function () {
$(".wijgridth:eq(0)").css("background", "red");
$(".wijgridth:eq(1)").css("background", "lightblue");
$(".wijgridth:eq(2)").css("background", "yellow");
$(".wijgridth:eq(3)").css("background", "lightgreen");
});
</script>
$(document).ready(function () {
$(".wijgridth:eq(0)").css("background", "red");
$(".wijgridth:eq(1)").css("background", "lightblue");
$(".wijgridth:eq(2)").css("background", "yellow");
$(".wijgridth:eq(3)").css("background", "lightgreen");
});
</script>
旧文書番号
81736