Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2165
Transaction<T>.row is always null
posted

In the next action result _transaction.row is always null, this piece of code is very similar to the one found in http://help.infragistics.com/Help/Doc/jQuery/2013.1/CLR4.0/html/igGrid_Updating.html#column_settings_editors

        public ActionResult UpdatingSaveChanges()
        {
            ViewData["GenerateCompactJSONResponse"] = false;
            var _gridModel = new GridModel();
            var _transactions = _gridModel.LoadTransactions<MyRowItem>(HttpContext.Request.Form["ig_transactions"]);

            foreach (var _transaction in _transactions)
            {
                // _transaction catch all the transactions correctly but,
                // _transaction.row IS ALWAYS NULL, WHY?

                if (_transaction.row.IsOk != null)
                {
                    // Do something here.
                }
            }

            var _result = new JsonResult();
            var _response = new Dictionary<string, bool> {{"Success", true}};
            _result.Data = _response;
            return _result;
        }

See the attached source code (TestSolution.rar), I have it in a Visual Studio 2013 solution for a MVC 4 demo with Infragistics 2014.1.

I can see all the transactions made in the client side but _transaction.row is always null, what's wrong here? 

TestSolution.rar
Parents Reply Children
No Data