This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information

Set column readonly?

General questions regarding the development with JVx.

Set column readonly?

Postby johnit » Wed Nov 29, 2017 3:42 pm

I want to set a single column of my databook readonly? How is this possible?
johnit
 
Posts: 30
Joined: Fri Nov 16, 2012 5:58 pm

Re: Set column readonly?

Postby rjahn » Wed Nov 29, 2017 3:43 pm

This is an easy task:

Code: Select all
databook.getRowDefinition().getColumnDefinition("NAME").setReadonly(true);


The Rowdefinition contains information about all available columns!
rjahn
 
Posts: 35
Joined: Sun Sep 13, 2009 1:54 pm


Return to Development