Tuesday, February 23, 2010

Why the Flex AdvancedDataGrid sucks?!!

Well i was wondering from a while about why flex is not as programmer friendly as possible.
I am getting links that support my opionion. Here is one more:

AdvancedDataGrid ~ removing the sorting icons from the column header

Just add sortItemRenderer="{null}" in your AdvanceDataGrid tag and
will get rid of sorting icon(like a verticle line) in your
AdvanceDataGrid header.

Saturday, February 20, 2010

How to get absolute x and y from element inside HBox?

So you want the buttons inside the HBox, but the arrows outside the HBox, and therefore need a way of converting the local x,y coordinates of your buttons to global ones?

This will give you a global point:
myButton.localToGlobal( new Point( myButton.x, myButton.y ) );


Notes:
* localToGlobal shold be invoked from the button's inmmediate parent (hbox).
* this.globalToLocal needed to translate the obtained coords for the app
* use contentToGlobal and globalToContent instead to avoid problems with padding from the hboxes

Saturday, February 13, 2010

Putting a Flex Face on Alfresco

The two best opensource frameworks are ready for integration. The best UI experience Adobe Flex is being supported by the best backend services from Alfresco CMS.

Freelance