Jump to content

DBGrid editing - OnEditButtonClick


arilotta

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

 

Link to comment
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

Link to comment
Share on other sites

  • 1 month later...

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).

Link to comment
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...

Link to comment
Share on other sites

  • 3 months later...

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

Link to comment
Share on other sites

×
×
  • Create New...