ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Grid simultaneous use of InlineEditing and Movable Rows
Title:
B
I
{code}
?
Is it possible to have grid with both inline editing and movable (reorderable) rows ? When I try .Mod(o => o.PageInfo().InlineEdit(Url.Action("Create"), Url.Action("Edit"), rowClickEdit: true, oneRow: true)) .Mod(o=>o.MovableRows()) I have only MovableRows
Save Changes
Cancel
Evgeny Alekseev
asked at 08 Apr 2019
Answers
B
I
{code}
?
Yes, you need to call `.Mod` just once .Mod(o => o.PageInfo().InlineEdit(Url.Action("Create"), Url.Action("Edit"), rowClickEdit: true).MovableRows()) and you'll also need to modify awem.js, inside `gridMovRows` function, find: cancel: awe.dgcf($fromCont), and replace it with: cancel: function (cx) { return awe.dgcf($fromCont)(cx) || cx.drgo.closest('.o-glrow').length; }, this is to avoid moving rows in inline mode which will also prevent you from clicking on textboxes
Save Changes
Cancel
Omu
answered at 08 Apr 2019
Thx you for answer, it has really helped me
at 08 Apr 2019
Evgeny Alekseev
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