|
Title: PropertyGrid disabled editor text or textbox Post by: arawak on August 29, 2014, 03:40:49 AM Hello there,
In a PropertyGrid, I use an editor such as 'text' and I want to make it disabled. So in my editor, I added the option " Code: disabled: true I tried with "textbox" is ok but if I change " Code: disabled: false Can you help me? thank you Title: Re: PropertyGrid disabled editor text or textbox Post by: stworthy on August 29, 2014, 06:06:12 AM How do you assign the 'disabled' property to the 'textbox' editor? Please check your code carefully, the code should look like this:
Code: {"name":"department","value":"","group":"ID Settings","editor":{Title: Re: PropertyGrid disabled editor text or textbox Post by: arawak on August 29, 2014, 06:19:01 AM Below is my json return procedure:
Code: [{"field":"serLibelle","name":"Libell\u00e9 Service "," value ":" Service 4","editor":{"type":"text","options":{"readonly":false,"disabled":false,"multiline":true,"editable":true}}}, Title: Re: PropertyGrid disabled editor text or textbox Post by: stworthy on August 30, 2014, 04:56:57 AM The 'text' editor hasn't 'disabled' property, please use 'textbox' editor instead.
Title: Re: PropertyGrid disabled editor text or textbox Post by: arawak on September 01, 2014, 04:57:26 AM Thank you for that clarification, everything works now
|