Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

SelectionMode.MULTIを設定しているGridで、特定の行だけ選択不可にしたい。 #7

Open
ghost opened this issue Oct 9, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 9, 2017

2017-10-15 12 44 44

たとえば↑のステータスがDeletedのデータは編集も削除もできないので、選択不可にしたい。どうやったら実現できるか?

@ghost ghost changed the title how to be available selection of multi selection grid's a certain row. how to be unavailable selection of multi selection grid's a certain row. Oct 9, 2017
@ghost ghost changed the title how to be unavailable selection of multi selection grid's a certain row. how to be unavailable selection of multi selection grid's a certain row? Oct 9, 2017
@ghost ghost added the help wanted label Oct 9, 2017
@ghost
Copy link
Author

ghost commented Oct 15, 2017

別に「特定行を選択不可にする」ということができなくても、仕様次第でこの問題は回避できる。
現状は「Deletedのデータが選択されていると、編集/削除ボタンを非活性にする」という仕様にしている。
そもそも操作できるデータと操作できないデータとを同じGridに表示するという画面設計が間違っているのでは?ということも思う。ただ、単一責任の原則に忠実に、参照と操作のGridを別にする、という作りが理想ではあるが、使いやすいのか?というと疑問があるので、今の仕様が妥協点かなと。

@ghost ghost changed the title how to be unavailable selection of multi selection grid's a certain row? SelectionMode.MULTIを設定しているGridで、特定の行だけ選択不可にしたい。 Oct 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

0 participants