# 一覧画面のサブテーブルの列の非表示

**URL:** <https://community.cybozu.dev/t/topic/546>\
**Category:** kintone 開発相談\
**Created:** [2017 年 9 月 19 日午前 1:06 UTC](https://community.cybozu.dev/t/topic/546 "2017-09-19T01:06:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Legacy\_Account1739](https://avatars.discourse-cdn.com/v4/letter/l/7feea3/32.png) [@Legacy\_Account1739](https://community.cybozu.dev/u/Legacy_Account1739)\
**Post date:** [2017 年 9 月 19 日午前 1:06 UTC](https://community.cybozu.dev/t/topic/546/1 "2017-09-19T01:06:34Z")

</div>

お世話になります。

サブテーブルの列の非表示を行いたいのですが、詳細画面は、CSSに下記の内容を記述することで実現出来たのですが、一覧画面のサブテーブルの表示時には適用されませんでした。

x番目列の非表示の場合

.subtable-gaia.subtable-nnnnnnn th:nth-child(x),  
.subtable-gaia.subtable-nnnnnnn td:nth-child(x),  
display:none;  
}

一覧画面のサブテーブルの表示時にも同様に列の非表示を行いたい場合にはどのようにしたらよいでしょうか？

ご教授いただけませんでしょうか。

---

<div class="post-metadata">

**Author:** ![Legacy\_Account1740](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@Legacy\_Account1740](https://community.cybozu.dev/u/Legacy_Account1740)\
**Post date:** [2017 年 9 月 20 日午前 5:45 UTC](https://community.cybozu.dev/t/topic/546/2 "2017-09-20T05:45:52Z")

</div>

古川様

お世話になっております。

cstapの江田と申します。

一覧画面でのサブテーブルの場合、セレクタの指定は以下のようになるかと思います。

.recordlist-gaia.subtable-nnnnnnn th:nth-child(x),

.recordlist-gaia.subtable-nnnnnnn td:nth-child(x)&nbsp;{

&nbsp; display:&nbsp;none;

}

---

<div class="post-metadata">

**Author:** ![Legacy\_Account1739](https://avatars.discourse-cdn.com/v4/letter/l/7feea3/32.png) [@Legacy\_Account1739](https://community.cybozu.dev/u/Legacy_Account1739)\
**Post date:** [2017 年 9 月 20 日午前 6:05 UTC](https://community.cybozu.dev/t/topic/546/3 "2017-09-20T06:05:11Z")

</div>

江田様

いつもお世話になっております。

実現出来ました。

ご教授ありがとうございました。

&nbsp;
