Flex Notifications can now be stacked A Flex DataGrid with a fixed column
Sep 28

This is quite strange that this function is tagged as private in the DataGrid code. Then, it doesn’t appear in the documentation although this is really useful.

dataGrid.mx_internal::shiftColumns(oldindex, newindex, event);

This will move the column at the oldindex to the newindex. And you can also use an event.

Of course, to use the mx_internal namespace, you need to add the following code:

import mx.core.mx_internal;
use namespace mx_internal;

So ok… 3 lines of code.

Related posts

Written by Arnaud
Creative Commons License
Tags: , ,

Share/Save/Bookmark

Help me improve my blog by rating this post or sending a comment.

not goodquite goodgoodvery goodexcellent (1 votes, average: 4 out of 5)
Loading ... Loading ...


Comments are closed.