|
-
Aug 24th, 2004, 11:03 AM
#1
Thread Starter
Addicted Member
DataGrid event fire --needed to be resolved
Hi all gurus,
Once again, I am back to my rescue team.
I want to check several functions in click event of DataGrid ROWS.
Rightnow, I have wrote it in _CurrentCellChanged event. but I want it on 1] click event in datagrid rows. and
2] keypress event in datagrid rows.
somehow, I am not getting it, can u please help me out !
Thank you ,all....
Last edited by NANC; Sep 2nd, 2004 at 10:51 AM.
-
Aug 25th, 2004, 05:16 PM
#2
Thread Starter
Addicted Member
Hi all gurus,
I would like to explain my case other way;
When I click on datagrid row, I want to know in which cell i clicked.
May be someone knows,
Thank you.
-
Aug 25th, 2004, 05:51 PM
#3
Hyperactive Member
Originally posted by NANC
Hi all gurus,
I would like to explain my case other way;
When I click on datagrid row, I want to know in which cell i clicked.
May be someone knows,
Thank you.
Private Sub DataGrid1_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.CurrentCellChanged
Dim cell As DataGridCell = DataGrid1.CurrentCell
Label1.Text = String.Format("Current at ({0}, {1})", _
cell.RowNumber, cell.ColumnNumber)
End Sub
-
Aug 27th, 2004, 11:07 AM
#4
Thread Starter
Addicted Member
Thank you for your help,
DataGrid1_CurrentCellChanged will work while clicking from one cell to another.
But if user clicks second time on the same cell, this event won't fire.
I want it to fire in any cell click, any number of time clicked.
Is there any way for that ?
Thank you,
-Nanc
-
Aug 30th, 2004, 11:08 AM
#5
Thread Starter
Addicted Member
HI all,
I tried DATAGRID.CLICK event. but it dosent work on cells.
is there any acset event as a problem solver.
Thank you,
-Nanc
-
Sep 2nd, 2004, 10:48 AM
#6
Thread Starter
Addicted Member
I tried DATAGRID_CLICK event. but it dosent work in CELLs.
why is like that ? what is the use of CLICK event then ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|