Height Problem in Chrome

1 reply. Last post: September 13, 2013 6:35 AM by Hans Kristian
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Madhavan GMember

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


All times are GMT -5. The time now is 4:30 PM.
Previous Next