Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 557345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:00:59+00:00 2026-05-13T12:00:59+00:00

I have a Advanced DataGrid for displaying the number of rows from the Database

  • 0

I have a Advanced DataGrid for displaying the number of rows from the Database and one row strictly should not allowed drag option. Is is possible? Please share one sample example.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:01:00+00:00Added an answer on May 13, 2026 at 12:01 pm

    Of course this is possible. Add a dragEnter Handler to your datagrid:

    <mx:AdvancedDataGrid id="adg" dragEnabled="true" dragEnter="adg_dragEnterHandler(event)" />
    

    With the following code:

    protected var _draggedItem:Object;

                protected function adg_dragEnterHandler(event:DragEvent):void
                {
                    event.preventDefault();
                    event.currentTarget.hideDropFeedback(event);
    
                    var items:Array = ds.dataForFormat("items") as Array;
                    if (items != null && items.length > 0 && (items[0] is CategoryVO)) {
                        _draggedItem = Object(items[0]);
                    }
    
                    // Prevent item from being dragged
                    if (_draggedItem.property == true) {
                        DragManager.showFeedback(DragManager.NONE);
                        return;
                    }
    
                    DragManager.acceptDragDrop(UIComponent(event.currentTarget));
    
                }
    

    _draggedItem.property == true is the check, if an item can’t be dragged.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a flex datagrid with cart items populated from a service. Each row
I have a Advanced DataGrid requirement. But i do not have idea how to
I have 2 advanced data grids, one above the other. They both have the
I currently have an advanced search page that searches a number of fields in
I have a datagrid with paging enabled. I am displaying the results in datagrid
I have a advanced datagrid and displying the 10 records. but when loading the
I have a datagrid with one datagridcolumn in it. Without a custom itemrenderer I
I have wpf datagrid with number of template columns. some of them have textbox
I have an advanced datagrid, with the grouping collection attached to an XMLListCollection. I
I have datagrid with paging enabled that can have 10 rows per page. Also

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.