473,473 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

DataGrid cursor

I set the DataGrid's readonly = true and its binding dataview's .AllowEdit =
False. I can't edit the DataGrid. But I still can click a cell and put the
cursor in it and get the cell focused. I don't want the cursor show up nor
the cell get focused. It's like MS Outlook's email address lookup screen.
When you click a row, the whole row get focused and there is no cursor.
Is that possible? Please help.
Thanks in advantage.

Li

Jul 21 '05 #1
1 1727
I tried it too... but found no way to do it...

So I used a ListView with "View" Property set to "Details" and added the column I needed....

hope this help,,

Steph.

"Li Weng" <Li****@discussions.microsoft.com> wrote in message news:F5**********************************@microsof t.com...
I set the DataGrid's readonly = true and its binding dataview's ..AllowEdit =
False. I can't edit the DataGrid. But I still can click a cell and put the
cursor in it and get the cell focused. I don't want the cursor show up nor
the cell get focused. It's like MS Outlook's email address lookup screen.
When you click a row, the whole row get focused and there is no cursor.
Is that possible? Please help.
Thanks in advantage.

Li

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael Schindler | last post by:
How i can eliminate a cursor from a datagrid cell? If I click into a datagrid cell then I open a other dialog with parameter key from this row. If I close this other dialogue a can not reopen...
3
by: Junkguy | last post by:
Does anyone know the best way to put the cursor in the "blank" row of an editable datagrid when it is initially displalyed? I need to present the user with a list of rows from a dataset, but I...
1
by: MrNobody | last post by:
How can I customize DataGrid so that when the mouse hovers over certain columns the cursor changes to the Cursors.Hand cusror? I was unable to use the MouseEnter/MouseLeave events on DataGrid...
2
by: karunakar | last post by:
Hi All In datagrid OnMouseOver iam showing some color Onmouseout also working fine . Here my problem is when ever click the pariculat row in DataGrid iam showing red color that time i am not...
1
by: John Bayly via .NET 247 | last post by:
I'm working on an inherited Datagrid class that includes afunction called onMouseMove to paint the row under the cursor tomake reading easier for users. To paint the row, the function sets the...
4
by: Fred Nelson | last post by:
Hi: I have a VB.NET web app that contains a datagrid on a web form that is loaded as follows: DataGrid1.DataSource = lookup.searchnames(getinformation) DataGrid1.DataBind The grid displays...
2
by: thomasp | last post by:
I have a datagridview that allows the user to sort the column by clicking on the header of the column the user wishes to sort. I did not code this, it had the ability when the datagrid was...
1
by: Li Weng | last post by:
I set the DataGrid's readonly = true and its binding dataview's .AllowEdit = False. I can't edit the DataGrid. But I still can click a cell and put the cursor in it and get the cell focused. I...
7
by: julian.tklim | last post by:
Hi, I need to build an editable Datagrid with add & delete buttons on each row using javascript. DataGrid need not be pre-populated with values. To make the thing complicated, one of the...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.