?
Solved

Datagrid - One row editable, next one static?

Posted on 2004-09-14
2
Medium Priority
?
131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
ssdesign earned 750 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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 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 how to record live broadcast.
Suggested Courses

800 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