on 01-15-2010 10:44 AM
Dear Experts,
I have a table in which I have a column which is a input field,
now i want this input field to be readonly for some rows only .
Please suggest.
Warm Regards
Upendra Agrawal
Add a boolean attribute "readOnly" to your context:
Context
+ Rows (node, c=0:n, data source for table)
+ value (string)
+ readOnly (boolean)
Bind the "readOnly" property of the input field cell editor to the "readOnly" context attribute. Then all input fields will be read-only where in the corresponding context element the attribute "readOnly" has value "true".
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use two cell variant(TableStandardCell) for the column and insert cell editor as inputField. Create two attribute for the variant key and map it to the variantKey property for both the cell variant.
On wdDoInit() or any action choose which variant use want to use for the column by setting the selectedCellVariant property for the table column (again using an attribute).
Hope it helps.
Cheers,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.