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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -