Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

datagrid problems , preventing content selection

Status
Not open for further replies.

benlogan1981

Programmer
Dec 9, 2001
14
GB
Hi
Ok, I have a problem with datagrids - been battling with them for a few days now. I have an uneditable datagrid displaying some data out of my postgres db. That is fine and everything is working ok - the problem is that I dont want the user to be able to select the contents of a cell either. I want the selection of a row to always just highlight that row and nothing more specific than that.

Another problem I just noticed is that because I can change the row selected by clicking on the column to the left of the data, that is not picked up in my 'cell changed' method and so everything gets screwed up there also. Is there a way of removing that column (I think its just used for sorting) or how do I detect a proper row change.

Thanks

Ben
 
Hi,

do you allready have an answer to your problem ? I have exactly the same question and I am still searching for a solution. If you have received the answer, could you please help me out with this ?

Thanks !

Mario
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top