EasyUI Forum
May 03, 2024, 11:57:50 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: datagrid fitColumns with bufferview on: May 17, 2021, 08:51:02 AM
Here I attached the second Screenshot from defaultView..
2  General Category / EasyUI for jQuery / Re: datagrid fitColumns with bufferview on: May 17, 2021, 08:40:15 AM
When I use this code, it works:

Code:
$('#datagrid').datagrid(
{
url: 'select.php',
rownumbers: false,
singleSelect:true,
resizable:true,
remoteFilter: true,
remoteSort: true,
pagination:true,
clientPaging: false,
pageSize:20,
pageList:[10,20,30,40,50,100,150,200],
fitColumns:true,
toolbar:'#toolbar',
showFooter: true,
pageNumber: 1,
view:defaultView,
idField: 'id',
onDblClickRow: function(index, row)
{
Bearbeiten = true;
Neu = false;
DS_Bearbeiten(row.id);
},
groupFormatter:function(value,rows){return value + ' - ' + rows.length + ' Datensätze';},
  columns: Columns

}
)


When I use this, it doesnt work correctly:

Code:
$('#datagrid').datagrid(
{
url: 'select.php',
rownumbers: false,
singleSelect:true,
resizable:true,
remoteFilter: true,
remoteSort: true,
pagination:true,
clientPaging: false,
pageSize:20,
pageList:[10,20,30,40,50,100,150,200],
fitColumns:true,
toolbar:'#toolbar',
showFooter: true,
pageNumber: 1,
view:bufferview,
height:600,
idField: 'id',
onDblClickRow: function(index, row)
{
Bearbeiten = true;
Neu = false;
DS_Bearbeiten(row.id);
},
groupFormatter:function(value,rows){return value + ' - ' + rows.length + ' Datensätze';},
  columns: Columns

}
)

Hope you can see the attachments.. There is a screenshot of bufferview and one of defaultview..

Thanks !
3  General Category / EasyUI for jQuery / datagrid fitColumns with bufferview on: May 16, 2021, 03:22:17 AM
Hi,

I want to use the bufferview, instead of defaultview.
My problem is, that "fitColumns" property seems not to be working then. In defaultview it does.

Can anybody help me please ?

Thanks !
4  General Category / EasyUI for jQuery / Re: remote Filter automatic on: April 19, 2021, 04:11:21 AM
Thanks for your help  !

But how I get it, that "doFilter" will be executed while typing (or when lost focus) in Filter Column ?
5  General Category / EasyUI for jQuery / remote Filter automatic on: April 16, 2021, 05:35:14 AM
Hi,

I am using the datagrid Filter extension in my application.

remoteFilter is activated and works fine.

Is it possible to run "doFilter" method while typing  Huh
It just work, when I have no filter option in selection. I want to "doFilter" with a default option.
However, I still want to be able to choose different options.


Thanks !
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!