We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

grid right side border not coming properly.

Thread ID:

Created:

Updated:

Platform:

Replies:

119889 Aug 11,2015 06:58 AM UTC Aug 12,2015 10:01 AM UTC JavaScript 1
loading
Tags: ejGrid
Bharat Buddhadev
Asked On August 11, 2015 06:58 AM UTC

<div tabindex="0" ng-controller="cmisDataController" id="grid" ej-grid e-datasource="data" e-columns="columns" class="gridStyle" e-allowresizing="true" e-toolbarsettings-showtoolbar="true" e-toolbarsettings-toolbaritems="tools" e-editsettings-allowediting="true" e-editsettings-allowadding="true" e-editsettings-allowdeleting="true" e-allowpaging="true" e-allowkeyboardnavigation="true" e-allowscrolling="true" e-allowsorting="true" e-isresponsive="true" e-minwidth="990" ></div>

Sometimes this issue occurs

when we refresh the page in that time this issues occurs.


Attachment: border_bd96cf81.rar

Alan Sangeeth S [Syncfusion]
Replied On August 12, 2015 10:01 AM UTC

Hi Bharat,

Thanks for using Syncfusion products.

We have analyzed the image that you have shared with us and found that you have rendered Grid inside Tab control.

While using angular initialization to render Grid inside tab control, we need to call “windowonresize” Grid method in “itemactive” Tab event. Please refer the following code snippets

<div id="mainTab” ej-tab e-itemactive="active  >



$scope.active = function (args) {

                     if(args.activeIndex == 1){

                //Find the grid element inside the tab

                         var grid = this.element.find(".e-grid").data("ejGrid");


                //call the windowonresize method

                         grid && grid.windowonresize();                      }

                     };




For your convenience we have created a sample and the same can be downloaded from below link.
Sample: http://www.syncfusion.com/downloads/support/forum/119889/ze/gridinsideTab2057085694

Please let us know if you have any queries.

Regards,
Alan Sangeeth S

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;