iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
how to disable the webgrid with javascritp
i'm using this function.
{
wgDetalle.SetChanged();
wgDetalle.RootTable.UpdateUI();
wgDetalle.Refresh();
}
Hi Johnny,
You only need the following code to disable the grid:
function Grid1_RowSelect()
var wgDetalle = ISGetObject("wgDetalle");
wgDetalle.enabled =false;
But as i told you before that when you disable the grid from client side the grid functionality will become disable (e.g. edit, sorting, refresh, etc) but not the UI. If you want to have the UI also change to disable then there's no other way than using server side.
Regards,
Julia
Hi Johny,
Your code is almost right. You just have to change code in yellow part below:
var wgDetalle = ISGetObject("wgDetalle"); wgDetalle.enabled =false;
However, if you disable the grid in client side, the UI don't change to disable but the functionality will be disable. It's better to enable and disable the grid from server side.
Hope this help.
the solution does not work, you can disable through javasctip, it is not served by the server side that would cause a refresh of the page
*removed
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname