Is there any way to disable a specific column in gwt data grid ..something like
myColumn.setDisable(true);
My purpose is to prevent the selection of a SelectionCell in the datagrid.That should be non editable ..
any way to achieve that ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have two options:
A. You can create a custom cell which would render element set to disabled under certain conditions. This is the closest to what you want, but it may also be a little confusing to your users – they may think your table is broken.
B. You can remove column with SelectionCell and insert column with TextCell in its place.