Solved

Datagrid - One row editable, next one static?

Posted on 2004-09-14
2
125 Views
Last Modified: 2010-04-03
Hi All,

I was just wondering if it is at all posible to make a DataGrid with only certain rows editable?

Cheers.
0
Comment
Question by:d2kagw
2 Comments
 
LVL 7

Accepted Solution

by:
ssdesign earned 250 total points
ID: 12062682
You can make Columns editable or non-editable but not rows.

This is mainly because the way datagrid renders rows.

Lets say you have a datagrid which can show 4 rows. When you have more then 4 rows, you get a scrollbar.

Lets assume you have 6 entries to display, two are outside the display area.

If it was possible to set rows as editable or non editable, this would happen:

1. You make the second row editable.
2. You can scroll your content and bring the entry you want to edit in the second row and edit it.

Which means its not logical to have a feature like that.
0
 
LVL 3

Author Comment

by:d2kagw
ID: 12081719
Hmmm, thats kinda sucky...
I got around it though..
I set it up to watch what row was selected, if it was one that isnt' meant to be edited it quickly turns the editable feature off, and vice versa.

Works pretty well...

Thanks for your help though.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now