Solved

Datagrid - One row editable, next one static?

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

696 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