Dec 31, 2014, 10:37 PM
[CLOSED] Conditional Editor
I have a grid that has a column that changes editability and value type based on a second column's value.
e.g. If the second column is "points" the first column is editable and its valid values are 0-999. If the second column is "percentage" the first column will be read only and its value fixed at "100%".
I am using a roweditor and have been able to disable the editor but I would like to use the formatted value that the renderer produces instead of showing a disabled numberfield. In addition, I would like to add the word "points" after the editable field's value and the symbol "%" when it is readonly.
I am going to try and craft a simplified example of what i have and post it but wanted to get this request out incase someone more knowledgeable than me was board over the holiday.
That said, have a very happy New Year!
e.g. If the second column is "points" the first column is editable and its valid values are 0-999. If the second column is "percentage" the first column will be read only and its value fixed at "100%".
I am using a roweditor and have been able to disable the editor but I would like to use the formatted value that the renderer produces instead of showing a disabled numberfield. In addition, I would like to add the word "points" after the editable field's value and the symbol "%" when it is readonly.
I am going to try and craft a simplified example of what i have and post it but wanted to get this request out incase someone more knowledgeable than me was board over the holiday.
That said, have a very happy New Year!
Last edited by Daniil; Feb 03, 2015 at 2:11 PM.
Reason: [CLOSED]