jQuery UI Widgets › Forums › Grid › jqxGrid – filtertype: 'date' not displayed after applied (IIS only)
Tagged: angular grid, date, deploy, filterable, filtertype date, globalize.js, grid, IIS, jquery grid, jqxgrid, server
This topic contains 5 replies, has 2 voices, and was last updated by BNK 10 years ago.
-
Author
-
January 14, 2016 at 3:58 am jqxGrid – filtertype: 'date' not displayed after applied (IIS only) #80387
Hi!
I use jqxGrid in my MVC 4 project.$("#jqxgrid").jqxGrid( { width: '100%', source: dataAdapter, theme: 'energyblue', filterable: true, groupable: true, pageable: true, sortable: true, autorowheight: true, autoshowfiltericon: true, pagesize: '10', pagesizeoptions: ['10', '20', '30'], columns: [ { text: 'ID', datafield: 'ID', renderer: columnrenderer, cellsalign: 'right', width: '10%' }, { text: 'Person', datafield: 'FullName', filtertype: 'checkedlist', renderer: columnrenderer, width: '20%' }, { text: 'Date', datafield: 'SysCreated', filtertype: 'date', renderer: columnrenderer, cellsalign: 'center', cellsformat: 'dd/MM/yyyy HH:mm', width: '15%' } ], groups: ['FullName'] });Filter is working OK! However, after filter applied with Date column (for example, less than 13/1/2016 00:00), when open filter panel/window again:
– With IIS Express Visual Studio (
http://localhost:24780/personlist): the value13/1/2016 00:00still displayed in input control;
– With IIS 7.5 (http://localhost/myapp/personlist): the value13/1/2016 00:00NOT displayed in input control.Please tell me how to fix this issue. Many thanks
January 15, 2016 at 6:43 am jqxGrid – filtertype: 'date' not displayed after applied (IIS only) #80406Hi BNK,
Are there any errors thrown in your browser’s console when running the page on the IIS 7.5 server? Please make sure you are using the latest version of jQWidgets (3.9.1).
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/January 15, 2016 at 7:58 am jqxGrid – filtertype: 'date' not displayed after applied (IIS only) #80416Hi Dimitar,
From Firefox console, I have found the following:
ReferenceError: Globalize is not defined .setDate() jqwidgets:1 .val() jqwidgets:1 n.fn.val() jqwidgets:1 ._updatefilterpanel() jqwidgets:1 ._handlecolumnsmenu/h() jqwidgets:1 ._handlecolumnsmenu/<() jqwidgets:1 i.event.dispatch() jquery:1 i.event.add/v.handle() jquery:1 jqwidgets:1:956312Of course, I use ver 3.9.1. Thanks
January 15, 2016 at 8:15 am jqxGrid – filtertype: 'date' not displayed after applied (IIS only) #80417Hi Dimitar!
I have just deployed globalize.js files to IIS, it’s working now. Thankyou 🙂
January 15, 2016 at 8:18 am jqxGrid – filtertype: 'date' not displayed after applied (IIS only) #80418Hi BNK,
Please include a reference to the file globalize.js, too. It is necessary for the jqxDateTimeInput widget and can be found under
jqwidgets\globalizationin the jQWidgets download package.Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/January 15, 2016 at 8:34 am jqxGrid – filtertype: 'date' not displayed after applied (IIS only) #80420Hi Dimitar,
Yes, thanks. I have included it as the following:
bundles.Add(new ScriptBundle("~/bundles/jqwidgets").Include( "~/Scripts/jqxcore.js", "~/Scripts/jqxdata.js", "~/Scripts/jqxgrid.js", "~/Scripts/jqxgrid.selection.js", "~/Scripts/jqxgrid.pager.js", "~/Scripts/jqxlistbox.js", "~/Scripts/jqxbuttons.js", "~/Scripts/jqxscrollbar.js", "~/Scripts/jqxdatatable.js", "~/Scripts/jqxtreegrid.js", "~/Scripts/jqxmenu.js", "~/Scripts/jqxcalendar.js", "~/Scripts/jqxgrid.sort.js", "~/Scripts/jqxgrid.filter.js", "~/Scripts/jqxdatetimeinput.js", "~/Scripts/jqxdropdownlist.js", "~/Scripts/jqxslider.js", "~/Scripts/jqxeditor.js", "~/Scripts/jqxinput.js", "~/Scripts/jqxdraw.js", "~/Scripts/jqxchart.core.js", "~/Scripts/jqxchart.rangeselector.js", "~/Scripts/jqxtree.js", "~/Scripts/globalize.js", "~/Scripts/jqxbulletchart.js", "~/Scripts/jqxcheckbox.js", "~/Scripts/jqxradiobutton.js", "~/Scripts/jqxvalidator.js", "~/Scripts/jqxpanel.js", "~/Scripts/jqxpasswordinput.js", "~/Scripts/jqxnumberinput.js", "~/Scripts/jqxcombobox.js", "~/Scripts/jqxgrid.grouping.js", "~/Scripts/jqxgrid.selection.js", "~/Scripts/jqxtabs.js" )); -
AuthorPosts
You must be logged in to reply to this topic.