how to make the last row of an as3 advanced datagrid editable while all other rows are not editable

I'm trying to make a single row of a data grid editable. so if I have 5 rows of complete data these will remain uneditable. however I will have added an additional empty row and this is the only row I want the user to have access to edit. this is being done using as3 in and advanced data grid. using the editable property of the data grid I have made the entire grid editable but this will be an unacceptable outcome

Answers


Specify editable property of datagrid as true but specify all the colums of datagrid editable property false

On ItemClick event check the rowindex.

If rowindex == 5(where u want ur datagrid to be edited) use editable property of datagrid for all colums to true else false

Hope you got it!!!

Source: https://forums.adobe.com/thread/665669


Need Your Help

how to retrive all image src details from given html file source

regex c#-4.0 asp.net-4.0 linqpad

I have written one small program for retrieve all images from HTML content. I wrote this program like this in LINQPad for general testing :

Calculating 2 rows in a table with Rails 4

ruby-on-rails ruby ruby-on-rails-4.1

This is my first question and I am new with Rails.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.