Solved

Datagrid - One row editable, next one static?

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

773 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