kendo grid add non displayed field to store original value from valid field in datasource -
i have datasource has column value want store in "new" field datasource doesn't know or care about. tried using "from:" notation when adding field, error indicating "legal" datasource field undefined. code snippet below. adding line model in schema section of kendogrid definiton. column has value supplied datasource directly "remqty". can spot why "remqty" undefined error?
schema: { model: { id: "myid", fields: { remqty: {type: "number",editable : true}, originalremqty: {type: "number", from: "remqty", editable : false} } }
i think can't use from copy field.
the option supposed value specified field in raw javascript object , store in field of model different name.
Comments
Post a Comment