jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Grid filterrow
Tagged: filter, filterable, grid filterrow, jqxGrid ;, showfilter
This topic contains 3 replies, has 2 voices, and was last updated by abasan 7 years, 5 months ago.
-
AuthorGrid filterrow Posts
-
hi
I have grid with following property
sortable: true, filterable: true, showfilterrow: true, altrows: true, enabletooltips: true, editable: false, editmode: 'selectedrow', columnsresize: true, columnsreorder: true, virtualmode: true, pageable: true,
by default I set ‘sortable’ to true in grid
but when I set this property value to false with this code:
$('#grid').jqxGrid('filterable', false)
if there was a value in filter fields filterrow do not hide but if filter fields was empty filterrow be hidden.I call
$('#grid').jqxGrid('clearfilters');'
and also
$('#grid').jqxGrid('clearfilters',false);'
before
$('#grid').jqxGrid('sortable', false)
too , but my problem do not solved.and if call
$('#grid').jqxGrid('showfilterrow',false);
when filter fields contain value it made javascript errorthanks
Hello abasan,
I did some testing but didn’t find anything wrong. All properties and code snippets, that you sent, were working fine.
Maybe you could send us an example of some sorts, so we can see the whole issue you are experiencing.
A fiddle would be most appreciated and would help a lot.Also, what version of jQwidgets and browser are you using, I am testing on the latest version.
Best Regards,
StanislavjQWidgets Team
http://www.jqwidgets.com/hi
sorry there was a mistake in my writing
my aim was ‘filterable’ but by mistake I write ‘sortable’
I set ‘filterable’ to false
I use last version of component 5.5.0 and check in Firefox and IE and Chrome
and please make attention that is set grid ‘virtualmode’ property to true
I write my problem again as follow:
I have grid with following property
sortable: true, filterable: true, showfilterrow: true, altrows: true, enabletooltips: true, editable: false, editmode: 'selectedrow', columnsresize: true, columnsreorder: true, virtualmode: true, pageable: true,
by default I set ‘filterable’ to true in grid
but when I set this property value to false with this code:
$('#grid').jqxGrid('filterable', false)
if there was a value in filter fields filterrow do not hide but if filter fields was empty filterrow be hidden.
I call
$(‘#grid’).jqxGrid(‘clearfilters’);’
and also
$(‘#grid’).jqxGrid(‘clearfilters’,false);’
before
$(‘#grid’).jqxGrid(‘filterable’, false)
too , but my problem do not solved.
and if call
$(‘#grid’).jqxGrid(‘showfilterrow’,false);
when filter fields contain value it made javascript errorthanks
hi
it was my mistake and component work fine
sorry for that.
-
AuthorPosts
You must be logged in to reply to this topic.