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.

source: http://www.telerik.com/forums/model---options-fields-fieldname-from-description-not-clear#3nrb09ub5kmxoi2f3xsbrw


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

c# - Populating Gridview inside Listview ItemTemplate On Web User Control from Code Behind -