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
Hi,
We are using Webgrid8 in our page in our product.
When rendering in Chrome height is coming properly on load and after performing refreshall operation height is not coming properly.
I have tried setting the height of grid onAfterResponseProcess
if (navigator.userAgent.toLowerCase().indexOf('chrome') > 0 || navigator.userAgent.indexOf("Firefox") > -1)
{
if(actionName=="RefreshAll" || actionName=="Refresh")
var WebGrid1 = ISGetObject(controlId);
WebGrid1.LayoutSettings.AutoHeight = false;
var setHeight = document.body.clientHeight - 60;
if (actionName == "Refresh")
setHeight = document.body.clientHeight - 10;
}
WebGrid1.SetHeight(setHeight+"px");
window.setTimeout(function () { wgDoResize(true, true); }, 1);
return true;
But it is not rendering properly,Please see the screenshot attached.
Please advice what could be the problem.
Regards,
Madhavan
Hello,Thank you for your question regarding WebGrid.I made a WebGrid sample with access data source control (Nortwind.mdb database & Shippers table).I add your snippet code in the sample as well.I run the sample in Chrome browser then I click refresh button in WebGrid.However, it works fine on my end.Please kindly have review on the sample and let me know your response.I apologize for any inconvenience this problem may have caused you.Regards,Hans.
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