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 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 8, 2008
I stumbled upon an unknown property as I was trying to use an Inline Item Renderer on my DataGrid Columns. If you use the <mx:component> tag with your inline item renderer and try to have your component call an event in your main application you will get a nasty “Access to undefined method ……”. This [...]
Comments