Jump to content

UniDBGrid beforeedit and Checkbox Column


apgrs

Recommended Posts

ExtEvents->beforeedit  not working for checkbox columns.

Testcase:

1. Take demo uniGUI\Demos\Desktop\GridCheckBox

2. Put code below to UniDbGrid1->ExtEvents

function beforeedit(editor, context, eOpts)
{
return false;
}

3. Try to edit checkbox columns

 

UNiGUIVersion 1.90.0.1526

Link to comment
Share on other sites

On 5/14/2020 at 3:40 PM, Hayri ASLAN said:

I see. I found the problem and created a ticket. We will work on this.

 

can I get the ticket number to keep track of the release notes in next builds?

Link to comment
Share on other sites

  • 1 month later...
22 minutes ago, Sherzod said:

Sorry, how to understand this?

Hi Sherzod,

I'd like to display icon based on column value, but still clickable like action button so I can popup a form... when the column value changed it display a different icon.

Thanks,

Frances

Link to comment
Share on other sites

14 minutes ago, Sherzod said:

Hi,

And what values can be?

Hi Sherzod,

the values are integer 1 and 0, each value shows diff icon/image I assigned from uninativeimagelist, the icon is clickable like the action button (not widget).

Thanks,

Frances

Link to comment
Share on other sites

  • 8 months later...
On 5/12/2020 at 2:52 PM, apgrs said:

ExtEvents->beforeedit  not working for checkbox columns.

Testcase:

1. Take demo uniGUI\Demos\Desktop\GridCheckBox

2. Put code below to UniDbGrid1->ExtEvents


function beforeedit(editor, context, eOpts)
{
return false;
}

3. Try to edit checkbox columns

 

UNiGUIVersion 1.90.0.1526

Hi,

  above issue i checked in version 1.90.0.1545 still not yet fix. Any solution for set readonly checkbox in grid when use beforeedit?

 

Link to comment
Share on other sites

4 hours ago, Farshad Mohajeri said:

Next build will address this issue.

Actually, if you want to avoid editing a CheckBox in grid you can set the field to ReadOnly.

Hi,

  Cause block CheckBox column is depend on other column value, only BeforeEdit can solve it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...