By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,219 Members | 2,242 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,219 IT Pros & Developers. It's quick & easy.

Problem with full row select in datagrid?

P: n/a
Hi

I've a small porblem when selecting a full row in a datagrid.
The datagrid is in readonly mode and i use
datagrid1.select(datagrid1.currentrowindex) to select the whole line,
but the cell where the user clicks is not selected complete. Only the
text is bue on white, the rest of the cell is grey.
I only get it blue when clicking on the row header.

Any idea? or how can i mimic the click on the rowheader?

Peter
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
If the DataBind object for that Datasources Position changed you can select
that row, then it will be selected when you click in a cell BUT I have still
a problem.. the cell the user clicks in.. will still be grey since you're
supposed to type in it.. maybe if you change the backgroundcolor in that
textbox to blue...?
regards
/Lars

"Peter van der Veen" <pv*****@no.spam.ming.vanbrug.nl> skrev i meddelandet
news:7h********************************@4ax.com...
Hi

I've a small porblem when selecting a full row in a datagrid.
The datagrid is in readonly mode and i use
datagrid1.select(datagrid1.currentrowindex) to select the whole line,
but the cell where the user clicks is not selected complete. Only the
text is bue on white, the rest of the cell is grey.
I only get it blue when clicking on the row header.

Any idea? or how can i mimic the click on the rowheader?

Peter

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.