unplugged / unplugged-controls

7 stars 9 forks source link

UnpDialog - control the buttons displayed on the dialog #537

Open MartinPerrie opened 10 years ago

MartinPerrie commented 10 years ago

Another useful feature would be the ability to set a custom property to control which buttons are visible in the dialog.

Example: I have a table showing rows of data with a link to show all details related to the row. When selected a unpDialog is displayed showing the relevant data items (in read mode). In this case I don't need both 'OK' and 'Cancel' buttons. One of these would suffice.

RichSharpe commented 10 years ago

Can you use an UnpAlert for this?

MartinPerrie commented 10 years ago

I could if I just wanted to display a single item of text. But in this particular case I want to show a number of data items and probably have labels prefixing them too. It's easier to do that with UnpDialog.