EasyUI Forum
May 04, 2024, 02:38:02 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2 3 4
1  General Category / General Discussion / DataGrid: Can server send update with new list without client req from browser? on: June 09, 2020, 10:48:27 PM
Hi All,

Is there any way we can send new list to the UI from server, if third party application updates data in database?

Scenario:
ActiveMQ(got new message in queue)  -> Java listening to that queue and read the message -> updated in Database -> this new list data can we send back to the UI datagrid without making request from browser?

 
2  General Category / General Discussion / Re: Editable datagrid get previous cell value. on: November 02, 2018, 03:14:35 AM
Thanks for the reply, I have fixed the issue in the same way.
3  General Category / General Discussion / Datagrid filters "tab out" is scrolling table header not the data columns on: November 02, 2018, 03:14:00 AM
Hi All,

Can any one help on configuring the below requirement:

If we have a table with more columns and having a scroll bar for the datagrid.

Place cursor on first column filter and use tab key to navigate up to the last column, only the table header are moving and data columns are not moving along with the headers.

Thanks in advance.

4  General Category / General Discussion / Editable datagrid get previous cell value. on: October 16, 2018, 10:01:42 AM
Hi Everyone,

How can I get the previous cell value in "onAfterEdit" to do some calculations Huh

Thanks in Advance.
5  General Category / General Discussion / Re: Datagrid client side filtering is not working on: August 02, 2018, 07:14:47 AM
It's not working lloyd.
6  General Category / General Discussion / Re: Datagrid client side filtering is not working on: August 02, 2018, 02:24:58 AM
I have debugged the code in chrome, actually by default the operator is "Contains" in the isMatch function it is comparing with the list of operators. It is failing there.

I have set the below properties to the datagrid configuration

defaultFilterOperator: 'equal',
defaultFilterType: 'textbox',

It is working if the value matches in the rows, but I want to filter the data with "contains" only.

Can anyone suggest what configuration I need to change?
7  General Category / General Discussion / Datagrid client side filtering is not working on: August 02, 2018, 01:50:19 AM
Hi,

I tried to configure the client side filtering in Datagrid, it is giving the below exception.

Current Datagrid configuration

Code:
table.datagrid({
pagination:true,
        remoteSort:false,
        remoteFilter:false,
pageSize: 10,
loadMsg:$("#gridProcessing").text(),
url:"getList.htm",
onLoadError: function(){
table.datagrid('loadData',[]);
},
view: main.noRecordsView,
});

Below exception I am getting with the existing datagrid-filters.js file
Code:
Uncaught TypeError: Cannot read property 'isMatch' of undefined
    at isMatch (datagrid-filter.js:129)
    at HTMLTableElement.filterMatcher (datagrid-filter.js:104)
    at HTMLTableElement.myLoadFilter (datagrid-filter.js:447)
    at HTMLTableElement.opts.loadFilter (datagrid-filter.js:562)
    at _612 (jquery.easyui.min.js:9003)
    at HTMLTableElement.<anonymous> (jquery.easyui.min.js:9894)
    at Function.each (jquery-1.11.1.min.js:2)
    at m.fn.init.each (jquery-1.11.1.min.js:2)
    at Object.loadData (jquery.easyui.min.js:9893)
    at Object.$.fn.datagrid.methods.loadData (datagrid-filter.js:24)

I tried with the latest datagrid-filter.js from the below url, still i am getting the same exception
http://www.jeasyui.com/extension/datagrid_filter.php

Code:
Uncaught TypeError: Cannot read property 'isMatch' of undefined
    at isMatch (datagrid-filter.js:228)
    at HTMLTableElement.filterMatcher (datagrid-filter.js:193)
    at HTMLTableElement.myLoadFilter (datagrid-filter.js:637)
    at HTMLTableElement.opts.loadFilter (datagrid-filter.js:778)
    at _612 (jquery.easyui.min.js:9003)
    at HTMLTableElement.<anonymous> (jquery.easyui.min.js:9894)
    at Function.each (jquery-1.11.1.min.js:2)
    at m.fn.init.each (jquery-1.11.1.min.js:2)
    at Object.loadData (jquery.easyui.min.js:9893)
    at Object.loadData (datagrid-filter.js:36)

Please help to fix this issue.

Thanks,
Pandu Ranga T.
8  General Category / General Discussion / Re: Load datagrid combo filter dynamically from remote server on: July 18, 2018, 12:07:56 AM
Thanks, it is working as expected.
9  General Category / General Discussion / Re: Load datagrid combo filter dynamically from remote server on: July 17, 2018, 06:43:07 AM
Hi Jarry,

Need one more help, could you please tell me how to stop typing in combobox in the datagrid filter.
10  General Category / General Discussion / Re: Load datagrid combo filter dynamically from remote server on: July 17, 2018, 02:50:49 AM
Thanks Jarry, it is working now Smiley
11  General Category / General Discussion / Load datagrid combo filter dynamically from remote server on: July 13, 2018, 07:23:46 AM
Hi,

We have a requirement to show the combo filter in a datagrid dynamic data which it loads from remote server.

I have written the below code, there are not errors but list is not loading.

Can anyone please help how to load remote options dynamically in the datagrid combo box.

Code:

dg.datagrid('enableFilter',[{
            field:'personName',
            type:'combobox',
            valueField: 'id',
            textField: 'name',
            loader: listLoader,
            mode: 'remote'
         }
      ]);

var listLoader = function (){
var items = "";
$.ajax({
url: 'accTypesList.htm',
                        type:'POST',
                        cache:false,
                        success: function(data){
                               items = $.parseJSON(data, function(key,value){
                                                 return {
                                                        id: key,
                                                        name: value
                                                  };
                               });
                         }             
         });
return items;
}

[u]Response format example[/u]: {"1":"abc","2":"xyz","3":"asdf"}


Thanks in advance.
12  General Category / General Discussion / Re: Change Combobox Filter options in Datagrid dynamically on: March 06, 2018, 10:20:26 PM
Thanks Jarry, it satisfied our requirement.
13  General Category / General Discussion / Re: Change Combobox Filter options in Datagrid dynamically on: March 05, 2018, 09:59:04 PM
Hi Jarry,

Its not the enable/disable the filter for a particular combobox.

We have to enable/disable the option in the combobox based on a radio button selection.

Code:

{
 field:'column',
 type:'combobox',
 options:{
panelHeight:'auto',
data:[
   {value:'',text:$("#all").text()},
   {value:'01',text:$("#confirmed").text()},
   {value:'02',text:$("#waitList").text()},
   {value:'03',text:$("#cancelled").text(), disabled: true}, // We need to change disabled attribute onSelecting a radio button outside the grid.
   {value:'04',text:$("#checkedIn").text()},
   {value:'06',text:$("#open").text()}
  ]
}
}


Thanks in advance.
14  General Category / General Discussion / Change Combobox Filter options in Datagrid dynamically on: March 04, 2018, 11:32:03 PM
Hi,

We have a requirement saying that Enable/Disable the options in combo box filter dynamically for a datagrid on selecting a radio button outside the datagrid.

Could you Please tell me the process how to do that.

Thanks in Advance.

Thanks,
Pandu Ranga T.
15  General Category / EasyUI for jQuery / Re: [URGENT] Datagrid - Subgrid: In IE loosing focus in filter input box 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
Pages: [1] 2 3 4
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!