This is a migrated thread and some comments may be shown as answers.

Update and create focus

2 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Leo
Top achievements
Rank 1
Leo asked on 23 Feb 2012, 10:08 AM
Hello!
The red focus of edited cell cannot disappear after saving successfully.
Does anyone have the same problem?

2 Answers, 1 is accepted

Sort by
0
Patrick Rioux
Top achievements
Rank 1
answered on 10 Mar 2012, 07:49 AM
Yes I got this issue and spend days to fix. After doing the http call and do the server-side update, you need send back in the response the same record format as the request otherwise the red marker remains.
In odata the response will look like this:

jQuery17104430047829843897_1331361841130({"d":{"results":[{"SalesrepId":56052,"Code":"1111",
"Active"
:true,"LastName":"Rioux","FirstName":"Patrick","HouseNumber":"416","StreetName":"My Street",
"Address2"
:"address 2","Address3":"address 3","State":"NE","Zip":"12345","City":"Terrebonne",
"County":"My county"
,"YearSalesTarget":10000,"Note":"This is my note!2222"}]}});

Hope this help.
0
Leo
Top achievements
Rank 1
answered on 12 Mar 2012, 02:57 AM
haha~Thank you for your help. Problem has been solved.
Tags
Grid
Asked by
Leo
Top achievements
Rank 1
Answers by
Patrick Rioux
Top achievements
Rank 1
Leo
Top achievements
Rank 1
Share this question
or