Jump to content
uniGUI Discussion Forums
arilotta

DBGrid editing - OnEditButtonClick

Recommended Posts

Hi, in VCL DbGrid there is the possibility for a column to pick up a customized editor (a dialog), by setting the column ButtonStyle to cbsEllipsis and managing the OnEditButtonClick event.

UniGUI already implements various DbGrid editors (UniEdit, UniCombo, UniDBLoockUpComboBox, NumEdit, etc.).

 

In some cases, especially when there are many values to choose from, I think that the ellipsis button that could open a specialized dialog is the best solution. (and maybe it is not too difficult to implement...)

 

Thanks

Andrea

 

Share this post


Link to post
Share on other sites

Hi Delphi Dev, the solution puts a button when the dataset is in browse mode.

On the contrary, for my needs, it should be visible just in edit/insert mode, and in browse mode

the column should show just the column field value.

 

Thank you

Share this post


Link to post
Share on other sites

Hi Delphi Dev, the solution puts a button when the dataset is in browse mode.

On the contrary, for my needs, it should be visible just in edit/insert mode, and in browse mode

the column should show just the column field value.

 

Thank you

+1

 

Would be enough if TUniEdit is supporting embedded button(s).

Share this post


Link to post
Share on other sites

Hi,

 

+1

 

Would be enough if TUniEdit is supporting embedded button(s).

 

Yes, right

 

I think this is already possible on ExtJS 6

Share this post


Link to post
Share on other sites

Hi,

 

 

Yes, right

 

I think this is already possible on ExtJS 6

At least to me it will not help much to existing projects because of incompatibility issues to former unigui/extjs releases. But good to know...

Share this post


Link to post
Share on other sites

I think this is already possible on ExtJS 6

 

What does this mean ? 

Is it something I can add to my code or does it need a mod to unigui ?

 

This means that you can use one of the configurations, i.e. triggers

Share this post


Link to post
Share on other sites

×