Make dynamicly editable the grid based on a parameter

Hi Team, 

 

Somebody made this field dynamically? My case is based on the status you lock or unclock the editable grid list.

 

Like 1

Like

3 comments

I'd assume you could bind the property to an attribute and set as true false via code (but haven't confirmed or tried this). 

{
	"operation": "insert",
	"name": "MyListComponent",
	//...
	{
		"features": {
			"editable": "$IsMyListEditable"
		}
	}
}

Ryan

Ryan Farley,

I tried that and didn't work for me. Setting the attribute is been taked as "true" for the editable.

That's disappointing. I have experienced some issues with binding to nested properties like that one, so maybe the binding doesn't work there. I don't know of any other way to change that at runtime if it work work to bind an attribute there.

Show all comments