Jump to content
Software FX Community

Updating Grid Using Callback


LeighHerbert
 Share

Recommended Posts

I'm somewhat stuck with getting a Grid to update asynchronously.

Using callbacks, I execute the .NET procedure which sets up the Grid's data source as I want it (a DataTable), but getting the Grid to refresh to reflect the new data source is causing me a problem.

A JScript error is thrown when attempting to execute

GridFX.Grid.get_grids().Grid1.refreshData();

saying that the object does not support this property or method.

I guess my question is, after binding a new data source to the grid, is refreshData() the correct clientside call?

If not, what is, and if so, what might I be doing wrong?

Thanks in advance,

Leigh.

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.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

×
×
  • Create New...