|
-
Jun 21st, 2007, 08:36 AM
#1
Thread Starter
Member
I do not want selectionner all the line
I have a probléme then I have a datagrid then I made a code which allows me type value in this datagrid then for example datagrid contains 3 colunne VAT, price, including all taxes then I slaps on celul of VAT a value and I slaps a value on the celul of price and I click on importation which celul the including all taxes is calculated alots all it goes well
then I made my code on evement MouseUp
If DataGrid1.CurrentCell.ColumnNumber = 1 Or DataGrid1.CurrentCell.ColumnNumber = 2 Or DataGrid1.CurrentCell.ColumnNumber = 3 then
mon trétement
end if
then my probléme what one I click on a celul it selectionne all the line but to me I veus not selectionner all the line how I can do that?
-
Jun 21st, 2007, 08:47 AM
#2
Hyperactive Member
Re: I do not want selectionner all the line
Datagrid has a property called 'SelectionMode', change this to 'cellselect'.
HTH
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
|