Jump to content

How to fire Event (edit) of dbGrid after end editing with editor (TuniEdit)?


newsanti

Recommended Posts

  • newsanti changed the title to How to fire Event (edit) of dbGrid after end editing with editor (TuniEdit)?
1 hour ago, Sherzod said:

Hello, 

For what? 

-Grid.DataSet is Memory Table.
-After end editing of column editor then change dataset to edit mode.
-read data and save to master database with entity object.
-write data from entity object to dataset then dataset.post.

Oh..Sorry , I founded bug in my component.
cause: repeat write grid header at run-time with client operation mode.

 

Link to comment
Share on other sites

5 hours ago, Sherzod said:

So, has the issue been resolved?

function headerclick(ct, column, e, t, eOpts)
{
    var timeNow = (new Date()).getTime();
    if (this.lastClicked) {
        if (timeNow > (this.lastClicked + 500)) {
        } else {
            ajaxRequest(this, "columndblclick", ["columntext=" + column.text,
             "columnindx=" + column.dataIndex]);
        }
    }
    this.lastClicked = timeNow;
}
 

This script cause dbgrid do not fire grid.edit.

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