Thursday, April 30, 2009

How to delete the cells in datagrid

hi friends...

I learned about the datagrid,how to delete particular cells.The contents are removed in the datagrid by using RemoveItemAt() comment..when we delete a single row means,by using this command...If we want to delete 'n' Number of row means first we get the data using the command getItemAt()..then remove by RemoveItemAt() .....

Wednesday, April 29, 2009

To change particular color in a row

Hi friends,

In the datagrid i did some tasks...
*How to add the component in the datagrid
*How to give the effects the datagrid
*How to change the color the particular row

First use the concept of Itemrender ,it is used to insert component in the datagrid
Second one is giving the Iris(any effect) for the item renderer component
third is by clicking itemrender component(like Button) the color will changed

Tuesday, April 28, 2009

Effects in datagrid

hi Friends,

i am learned about the itemrender,how it is used in the datagrid.. Item Renderer is to used to some extra components suchas button,checkbox ,combobox etc ...

how it was added in the datagrid

Wednesday, April 15, 2009

Creating Flex Components

Not only does Flex have built-in support for properties and events, it includes a higher-level abstraction language (MXML) for laying out and configuring components, which greatly simplifies the development process. You can even create new components directly in MXML, although that's more commonly done using ActionScript. This article shows how to create components in Flex and how clean the resulting applications can be that use those components.

You'll see that ActionScript is quite similar to Java in many ways, but I hope you'll also see that ActionScript includes time-saving features that don't appear in Java.

Although you can write all your Flex code by hand and compile it using mxmlc (the free command-line compiler), it's much easier to use FlexBuilder which is built on top of Eclipse and has command completion, context help, built-in debugging and more. Some of the examples in this article use AIR, a beta feature that allows you to create desktop applications that access files and other aspects of your local machine (rather than being limited to the web sandbox).

Wednesday, April 8, 2009

How to insert a character & also about the static constants

1.STATIC CONSTANT:
In MXML, we can either use the static constant to set the property value, or use the value of the static constant.
Examples:
Set the property using the static constant.
horizontalScrollPolicy="{ScrollPolicy.OFF}

Set the property using the value of the static constant.
horizontalScrollPolicy="off"

Advantage:

The advantage of using the static constant is that the Flex compiler recognizes incorrect property values, and issues an error
message at compile time.


2.NEWLINE CHARACTER:

To insert a newline character, create an ActionScript variable, and then use data binding to set the property in MXML,
as the following example shows:

Example:


[Bindable]
public var myText:String = "Display" + "\n" + "Content";
]]>



EXPLANATION:

* This example includes the [Bindable] metadata tag before the property definition.
* This metadata tag specifies that the myText property can be used as the source of a data binding expression.
* Data binding automatically copies the value of a source property of one object to the destination property of another object at run time when the source property changes.
* If you omit this metadata tag, the compiler issues a warning message specifying that the property cannot be used as the source for data binding.

Monday, April 6, 2009

Reference

Hi,

The following websites is used to download the components.......

http://www.switchonthecode.com/tutorials

These website is used for downloading flex components. The source code here is in ActionScript(MXML)form.

http://www.examples.adobe.com/flex3/componentexplorer/explorer.html

These website is used for only Reading the flex components with outputs. Where it contains buttons, controls, Datavisualization and effects.

Friday, April 3, 2009

About flex


Flex is the Rich internet Applications.flex is to used to create the web Applications and it have advantages like page Refreshing,expanding the information place and it runs at the tratitional browsers.
By
Sakthi