Solved

Datagrid - One row editable, next one static?

Posted on 2004-09-14
2
126 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flash media server 1 326
Reduce the size of the Flash SWF file it executes 12 416
Flash player plugin 13 7 324
Google Chrome Blank White Screens 13 291
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

943 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

5 Experts available now in Live!

Get 1:1 Help Now