Problem with full row select in datagrid?

P

Peter van der Veen

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
 
L

Lars Netzel

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top