Skip navigation
Chandrasekhar
Currently Being Moderated

Need Help With DataGrid Header Shift and Width Change Events

Feb 11, 2014 3:52 PM

Tags: #flex #datagrid #resize #column #reposition #headershift

I need to perform some actions when a user either repositions columns in a datagrid or changes the width of columns.

 

1. For column repositioning, I am calling a function when a headerShift event occurs. However, this is dispatched also during the initial rendering of the datagrid. I don't know how to detect that the initial rendering is not complete. applicationComplete is triggered before the headerShift during the initial rendering of the datagrid.

 

2. For width change, I dodn't know what event to listen for.

 

Thanks.

 
Replies
  • Currently Being Moderated
    Feb 18, 2014 7:02 PM   in reply to Chandrasekhar

    I am quite familiar with the .NET datagrid, and it's grid header thing, however, when comes into flex, I got no idea. Hope your problem soon be solved.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points