ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Inlinedit using DataFunc()
Title:
B
I
{code}
?
Hi, I am using DataFunc to load the grid data. how to add the GetItem function to the grid like in normal controller call in DataFunc : GetItem = () => items.First(c => c.Id == g.Key), // called by the grid.api.update ( edit popupform success js func ) Please Advice!
Save Changes
Cancel
warlok
asked at 30 Aug 2016
in the current version api.update will call the url only, you'll be able to set getItem for the utils.gridModelBuilder in the next version, but thnx for noticing
at 04 Sep 2016
Omu
Is there any workaround for this? If I create a controller by the grid name and have a getitem function will that work?
at 04 Sep 2016
warlok
it should, you can also try to set both the .Url and .DataFunc
at 04 Sep 2016
Omu
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK