Find me on:
Contact me at:


Search Ramblings
Main | Getting Selected Values of a Flex List of Checkboxes »

Double Click Enabled Flex Spark DataGrid Example

Enabling the double click property on a Spark DataGrid is very simple except for one simple gotcha.

First, the obvious: In order to make a spark datagrid double clickable, you need to set the property doubleClickEnabled to "true".

Next, the part that always trips me up, is that you need to set the editable attribute on the datagrid to "true".  This will allow you to double click one of the default text item renderers and edit the text within the data grid cell.  View a the sample data grid code below:


With these two attributes you can allow double click editing of any cell in a Flex Spark DataGrid.

An example of this is shown below.  You can right click the example to view the source.

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (10)

References allow you to track sources for this article, as well as articles that were written in response to this article.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>