Posted by: vx on: October 16, 2008
There are very few resources on the web about printing in Flex. Adobe LiveDocs is an excellent on-line reference for Flex. I thought of sharing my experience and the way I successfully printed the dataGrid in Flex.
Example below: shows how to call a function to print a datagrid
public function printDataGrid() : void
{
var printJob : FlexPrintJob [...]
Posted by: vx on: October 15, 2008
The below example gives you a hook to sort a particular column in a datagrid without user input. One can use the below function where ever a datagrid has to have a default sort order on its column(s). Note : This works with flex 2 datagrid and not with Advanced datagrid in Moxie.
The dataGridDefaultSort functions [...]
Posted by: vx on: October 10, 2008
Yesterday I spent hours writing my own password strength monitor utility in for a personal project but i couldn’t make it work properly, So i did exactly what every other developer does after getting thoroughly frustrated i.e. I Googled until i reached this: geekWisdom
Download source from here
Click on the image to view sample
You [...]
Posted by: vx on: October 5, 2008
The following example is a Simple searchable DataGrid, I have also included dataGrid item renderer to show how to define/use a dataGrid “itemRendrer”. Search and Highlight a row depending on the searched text in a dataGrid. Define a cursor to traverse dataGrid rows.
The Objective of this example :
How to create custom item rendrer using Updatedisplaylist [...]
Posted by: vx on: September 16, 2008
There are different kinds of events in the Flex world. An event can be generated from user gesture, return of requests and component lifecycle. Use event is a two step process, (1) You need to write the handler (2) You need to register the handler to the event hook. To register event, there are two [...]
Comments