EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: rangaNadha on August 19, 2016, 12:03:04 AM



Title: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: rangaNadha on August 19, 2016, 12:03:04 AM
Hi,

I am using datagrid with having subgrid feature.

In IE when i type any char in the filter input box after filtering the records. Focus is going away after the result loaded in datagrid.

It is happening only in IE, chrome it is working fine. Can any one help to fix this issue :(

IE version: 11

Thanks in advance.


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box :'(
Post by: stworthy on August 19, 2016, 01:36:20 AM
Please try to download the 'datagrid-filter.js' file from http://www.jeasyui.com/extension/datagrid_filter.php


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box :'(
Post by: rangaNadha on August 19, 2016, 02:07:45 AM
I am using the latest one only. Even though i am getting the same issue. :'(


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: stworthy on August 22, 2016, 02:35:09 AM
Could you please show an example or a live page to demonstrate your issue?


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: rangaNadha on August 22, 2016, 05:13:44 AM
As it is a client project i cannot show the live demo. But i can provide the steps.

  • Go to the Datagrid which contains a subgrid and the records coming remotely.
  • Click on column filter input box for any filter, with mouse.
  • Search which any char, then records will filter.
  • After the result records added to the datagrid, focus is going back to the browser.
  • Instead of staying in the current input box.
  • If i press one tab it is coming to the first filter input box.
  • This is happening only in IE. In chrome the focus is staying in the same input box.


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: stworthy on August 23, 2016, 08:03:58 AM
Please look at this example http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=DataGrid%20Filter%20Row. It works fine on IE11.


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: rangaNadha on August 24, 2016, 02:01:14 AM
In that it is working fine, but the problem is when there is any subgrid in the datagrid then this problem is occurring.


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: rangaNadha on August 24, 2016, 02:52:14 AM
Hi stworthy,

Please find the attached "sample.html" for sample code.

In that please add "datagrid-filter.js" script file path. I have used the latest one as you mentioned in the previous comments.

I am able to reproduce the issue in the sample code.

Thanks in advance.


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: stworthy on August 24, 2016, 09:05:02 AM
Please look at this example http://code.reloado.com/ihezit4/2/edit#preview. It works fine. Be sure to download the 'datagrid-detailview.js' file from http://www.jeasyui.com/extension/datagridview.php


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: rangaNadha on August 25, 2016, 12:03:43 AM
Hi Stworthy,

Thanks for giving the sample code to test.

When i try to test the http://code.reloado.com/ihezit4/2/edit#preview

  • In IE (Version: 11.0.9600.18426) issue still there. OS: Windows 7
  • In IE (Version: 11.545.10586.0) it is working fine. OS: Windows 10

I downloaded the latest 'datagrid-detailview.js' from http://www.jeasyui.com/extension/datagridview.php and placed in our application. Now focus is staying in the same input box but the problem is it is going to the first position in that box.

Example: If i type 1 in input box, normally the cursor should be after 1, but after loading the records it is going before 1.
This issues i there occurring in both IE version mentioned above.


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: stworthy on August 25, 2016, 08:08:24 AM
The example below works fine in IE11.

http://code.reloado.com/ihezit4/2/edit#preview

If you have other questions, please show a reloado example to demonstrate your issue.


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: rangaNadha on September 13, 2016, 04:32:32 AM
Finally, focus issue is resolved only if i upgrade datagrid-detailsview.js but not datagrid-filters.js plugins.

stworthy, please correct me if i am wrong.



Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: rangaNadha on July 21, 2017, 10:53:07 PM
Hi stworthy,

This problem is occurring again after updating with the new datagrid_filters version from the below path.

 http://www.jeasyui.com/extension/datagrid_filter.php

and we are using the latest datagridview.js, we have taken it from the below path

 http://www.jeasyui.com/extension/datagridview.php

Could you please help to fix this issue

Thanks in adavance


Title: Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box
Post by: stworthy on July 23, 2017, 12:56:53 AM
The example below works fine in IE11 on Windows 7.

http://code.reloado.com/ihezit4/2/edit#preview