Title: datagrid inside a window doesn't show remote content (1.5.4) Post by: fgendorf on January 09, 2018, 07:56:31 AM Hi, I've just updated from version 1.5.3 to 1.5.4 and my datagrids located inside window doesn't show any content from a url... but if the datagrid is outside window, it works
If I comment line ur: 'url...' the columns shows but if not, the columns labels not appear. I rollback to 1.5.3 and everything works again. Title: Re: datagrid inside a window doesn't show remote content (1.5.4) Post by: stworthy on January 09, 2018, 09:02:25 AM Please look at this example http://code.reloado.com/alifev3/edit#preview
Title: Re: datagrid inside a window doesn't show remote content (1.5.4) Post by: fgendorf on January 09, 2018, 09:23:42 AM Hi, this example is not a remote content... the issue seems when url: parameter is present.
my code: Code: $('#listgroupsuser').datagrid({ if use data works: Code: $('#listgroupsuser').datagrid({ Title: Re: datagrid inside a window doesn't show remote content (1.5.4) Post by: stworthy on January 09, 2018, 03:41:51 PM It also works fine when set the 'url' property. http://code.reloado.com/alifev3/2/edit#preview
Title: Re: datagrid inside a window doesn't show remote content (1.5.4) Post by: fgendorf on January 10, 2018, 05:11:01 AM It also works fine when set the 'url' property. http://code.reloado.com/alifev3/2/edit#preview Ok, in your case, the loader function get a local data, and it works. In my code to work I needed use the follow loader: Code: loader: function (param, succ, error) { without setTimeout function, the result is the same of first post. In version 1.5.3 it doesn't happen. Thanks for your help Title: Re: datagrid inside a window doesn't show remote content (1.5.4) Post by: stworthy on January 10, 2018, 07:34:48 AM The 'loader' only demonstrates the data loading from remote. This example works with the real 'url' to retrieve data from the remote server.
http://www.jeasyui.com/demo/test/test1.html Code: <div class="easyui-window" title="DataGrid" style="width:700px;height:250px"> Title: Re: datagrid inside a window doesn't show remote content (1.5.4) Post by: fgendorf on January 10, 2018, 09:34:12 AM Ok thanks, maybe my problem is my dynamic tabs on window, I will check it, but works in 1.5.3 ;)
Title: Re: datagrid inside a window doesn't show remote content (1.5.4) Post by: gordis gmbh on January 24, 2018, 07:11:53 AM FYI:
There is a recent fix available in version 1.5.4.1 which also relates to display of Datagrid content in a window. May be it solves your problem as well. Title: Re: datagrid inside a window doesn't show remote content (1.5.4) Post by: fgendorf on January 29, 2018, 06:03:21 AM Oh Yes, 1.5.4.1 fixed the issue!
Thank you |