Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jQueryの編集可能なデータテーブルを使用しています。テーブルの一部のフィールドを編集不可にする必要があります。だから私はクラス名readOnlyを使用していて、CSSでは次のように定義しています。
readOnly
.readOnly { readonly: true; }
ただし、データフィールドが次のようになっていない場合readonly:その列のデータは編集可能です。
readonly
これをどのように克服する必要がありますか?
クラス名を使用する
class="read_only"
これでうまくいきます。