Is it possible to have the inline editing in the raw data JSON response?
So, instead of having "editable:true"
in the column Model, we could have "editable":"true"
in JSON and it would work the same way.
What I want to do --
When I click on a row, I can inline edit that row. And the "editable" property is not at all set in the column model, but coming through JSON. The columns should not be editable on load, it's only the click event that would fire inline editing.
I have the following JSON
{
"rows":[
{
"id":"1",
"editable":"true",
"cell":[
"Column 1 Data",
"Column 2 Data"
]
},
{
"id":"2",
"editable":"false",
"cell":[
"Column 1 Data",
"Column 2 Data"
]
}
]}
How will the different form fields work in this case - input field, textarea and select field?