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?:rolleyes:
Re: I do not want selectionner all the line
Datagrid has a property called 'SelectionMode', change this to 'cellselect'.
HTH