Jump to content
uniGUI Discussion Forums
arilotta

Dbgrids - change dgRowSelect at runtime

Recommended Posts

Hello, is it possible to change dgRowSelect for a DbGrid at runtime in any way ?

Share this post


Link to post
Share on other sites

When the underlying dataset is in Browse mode, I would like the whole row to be selected.

When it is in Edit/Insert mode, the selection is column based.

 

It is just to give the user an additional graphical evidence of the dataset status, not something

I couldn't live without.

 

Thanks

Andrea

Share this post


Link to post
Share on other sites

Hi,

 

To change the selectionModel in this way impossible in my opinion,
I think you can do this with CSS

Share this post


Link to post
Share on other sites

It is not so important at the moment, maybe I'll have 2 grids with the 2 different settings and switch between them at run time.

 

Delphi Dev, please could you hava a look at the post "How to cancel "×" on the lookup field when dropdown" ?

 

This is very important and urgent to me, I need just your opinion.

Thank you

Share this post


Link to post
Share on other sites

Hi,

 

This is very important and urgent to me, I need just your opinion.

Thank you

 

Please see this demo:

\FMSoft\Framework\uniGUI\Demos\Desktop\GridWithDBLookupCombo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×