Show Posts
|
Pages: 1 2 [3] 4 5 6
|
31
|
General Category / General Discussion / Re: Improvement for datagrid - Download data in excel or xml format
|
on: August 04, 2014, 07:11:16 AM
|
Hi,
Supposing you have the data in your datagrid also serverside in a database or so, it's easier to use a library as phpexcel for this. I have very good results with it and also can take care of styling the excel file with this.
This is no a problem... I use phpexcel too... My requeste is an idea to have this functionality in the framework.. Nothing more.. If the team developers don't want it, I continue to use the phpexcel class...
|
|
|
35
|
General Category / EasyUI for jQuery / Re: Dynamic data option in filter datagrid
|
on: May 16, 2014, 12:29:35 AM
|
The scenario, of my case , is this: - I have a datagrid with some medical results and in this datagrid I defined a personal comands to manage the data (update/delete/standby); - each columns have a filter and one have combobox filter . The grouped values, of this combobox, are loaded from a php script (a dynamic value)
For example: if I show the medical result , selected from a value defined in the combobox , and then I deleted all results , I want to reload the filter values of the combobox. So the system show me the remaining possible values of filter loaded from a php script.
The question is: how I can force the reload of the combobox filter?
|
|
|
40
|
General Category / EasyUI for jQuery / Dynamic data option in filter datagrid
|
on: May 09, 2014, 07:09:25 AM
|
Hello to all, when we define the filter in datagrid we also have to define the value will be present in a combobox filter $('#laboratory_result').datagrid({remoteFilter:true});
$('#laboratory_result').datagrid('enableFilter',[ { field:'type_of_result', type:'combobox', options:{ panelHeight:'auto', data:[ {value:'',text:'All'}, {value:'Check positive control - Matching passed',text:'Check positive control - Matching passed'}, {value:'Check positive control - Matching failed',text:'Check positive control - Matching failed'}, {value:'Get genotype data',text:'Get genotype data'}, {value:'Sample ID not found',text:'Sample ID not found'}, {value:'UNDETERMINED/OMITTED',text:'UNDETERMINED/OMITTED'} ], onChange:function(value){ if (value == ''){ $('#laboratory_result').datagrid('removeFilterRule'); } else { $('#laboratory_result').datagrid('addFilterRule', { field: 'type_of_result', op: 'equal', value: value }); } $('#laboratory_result').datagrid('doFilter'); } } }, { field:'sample_number', type:'text', options:{precision:1}, op:['equal','beginwith'] }, { field:'genotype_old', type:'text', options:{precision:1}, op:['equal','beginwith'] }, { field:'genotype', type:'text', options:{precision:1}, op:['equal','beginwith'] }
]);
When we set the values for a combobox filter the problem is how to implement a function that retrive all element for the combobox At the moment I created a php script that return to me a json string with the grouped values The question is easy: how can I integrate all? who can help me?
|
|
|
45
|
General Category / EasyUI for jQuery / Prompt message if some value change in a form in different tab
|
on: March 27, 2014, 09:21:38 AM
|
Hello to all, I've a multi -tab and, for each tab, a form with some value loaded from the server (attached the image).
My intention is: if some user changes some data in a form and then change tab without saving, the system notify that some value change and the system propose the possible actions before to contine
How can I implement it ?
Thanks
|
|
|
|