[CLOSED] Remote validation when reordering rows

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] Remote validation when reordering rows

    I would like to implement a custom validation when reordering rows in a GridPanel, as shown in the following example https://examples2.ext.net/#/DragDrop...ws_Reordering/. Unfortunately i did not found a way to accomplish this task. I would like to know whether there is something close from the approach implemented in TreePanel https://examples2.ext.net/#/TreePane..._with_Service/
    Last edited by Daniil; Jun 12, 2012 at 5:10 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Unfortunately, there is no such functionality in Ext.NET. And it's not a simple task.

    I would use DragDrop events to:

    1. Cancel dropping.
    2. Saving what and where should be dropped.
    3. Firing a request to server (I would use a DirectMethod) to validate dropping. Then in a success handler of DirectMethod make "dropping" manually if it's allowed.
  3. #3
    Thank you Danill, please mark it as resolved
  4. #4
    Daniil, i wonder why ext offers this functionality if i does not offer any validation as provided in TreeViewDragDrop. What is the purpose of this functionality?
  5. #5
  6. #6
  7. #7
    Quote Originally Posted by RCN View Post
    Daniil, i wonder why ext offers this functionality if i does not offer any validation as provided in TreeViewDragDrop. What is the purpose of this functionality?
    Seems I am a bit confused what the functionality you are talking about. Please provide more details.

    I will review your solution tomorrow.
  8. #8
  9. #9
    please keep me posted on the review of my solution
  10. #10
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] Remote validation question
    By bogc in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: May 09, 2012, 2:16 PM
  2. Replies: 3
    Last Post: Jul 11, 2011, 9:43 AM
  3. [CLOSED] Remote validation initial value
    By Leonid_Veriga in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 27, 2010, 7:37 AM
  4. Replies: 6
    Last Post: Dec 17, 2009, 8:40 AM
  5. Remote Validation
    By olimpia in forum 1.x Help
    Replies: 0
    Last Post: Jun 12, 2009, 7:39 PM

Posting Permissions