-
15 Nov 2012 5:23 AM #51
I applied this plug in .Every thing is workingfine except filter for "date field". I coded as follows
{xtype: 'datecolumn', text: "Note Date", dataIndex: 'NoteDate', align: 'center', sortable: true, filter:{
xtype:'datefield',emptyText : 'Filter for',format: 'Y-m-d', allowBlank: true},
renderer: Ext.util.Format.dateRenderer('Y-m-d')
}
Can u please suggest what needs to do for " date filter " functioanlity
-
15 Nov 2012 2:59 PM #52
I'm reading your code and you have a few references to CSS such as x-gridheaderfilters-filter-field. Can you paste the CSS somewhere? because it doesn't seem to be in ExtJS itself, at least, not that I can find.
-
16 Nov 2012 1:26 AM #53
Hi
I am using HedaerFilters plugin to get row inside the grid. I need Datepicker in yyyymmdd format . Can you please let me know how to get that one
-
16 Nov 2012 3:05 AM #54
filter: { xtype: 'datefield', format: 'Y-m-d'} is not filtering data for ext js 4.1 version. Please suggest what needs tp do
-
19 Nov 2012 3:01 AM #55
Please let me know whether this supports yyyy-mm-dd format for the date picker calender for date field. Also let me know remote filtering will supports or not
-
11 Dec 2012 11:20 PM #56
The Rendering is done properly for columns with width
The Rendering is done properly for columns with width
I think its a bug,
If my code has columns which are given width, instead of Flex, as i need Horizondal scroll bar to appear, also there is header filter assigned to each columns,
While Choosing a hidden column from "Select Column", the filters are not render properly,
but once i stretch the column, it gets rendered properly..
But than i tried changing the code grid filter plugin, since it handles only column.flex, previosuly, I tried adding a condition for column.width too and it worked fine
Code:adjustFilterWidth: function() { if(!this.containers) return; var columns = this.grid.headerCt.getGridColumns(true); for(var c=0; c < columns.length; c++) { var column = columns[c]; if (column.filter && column.flex) { this.containers[column.id].setWidth(column.getWidth()-1); } else if (column.filter && column.width) { this.containers[column.id].setWidth(column.getWidth()-1); } } }
-
24 Dec 2012 1:52 AM #57
i add dynamically columns in grid, follows:
How dinamically add filters to headers column's, such code not workPHP Code:var column = Ext.create('Ext.grid.column.Column', {text: 'New Column'});gridView.headerCt.insert(gridView.columns.length, column);gridView.getView().refresh();
PHP Code:var column = Ext.create('Ext.grid.column.Column', {text: 'New Column', filter: {xtype: 'textfield'}});gridView.headerCt.insert(gridView.columns.length, column);gridView.getView().refresh();
-
17 Jan 2013 9:18 AM #58
Hi
i am trying to use the plugin to implement a multiselect combo header filter
but i get 'TypeError: gs.data is undefined' on line 711PHP Code:
filter: {xtype: 'combo', multiSelect : true, store: ...}
gs.snapshot = gs.data.clone();
Any idea?
Thanks!
-
17 Jan 2013 9:36 AM #59
i fixed it by adding
to the grid store ...PHP Code:remoteFilter: true
-
5 Feb 2013 1:30 AM #60
Add in your grid class the following rows:
- plugin for the grid:
plugins: [Ext.create('Ext.ux.grid.plugin.HeaderFilters')/*, ... other plugins here */]
- column configuration:
columns:[{ /*other configurations for your column:*/
header: 'Accepted', dataIndex: 'accepted', flex: 1,
/*filter plugin configuration:*/
filterable: true, filter:{xtype: 'textfield' /* i've used a simple textbox*/}}
/*, other columns here */]


Reply With Quote