jQWidgets Forums
Forum Replies Created
-
Author
-
March 14, 2014 at 5:18 pm in reply to: How to prevent sorting in the auto-complete popup ? How to prevent sorting in the auto-complete popup ? #51073
Ok!
I have removed the sorting in the jqxinput.js code (line b = this.sort(b);)
It works, thanks !March 13, 2014 at 1:07 pm in reply to: How to prevent sorting in the auto-complete popup ? How to prevent sorting in the auto-complete popup ? #51010I get a very strange thing about the auto-complete popup order :
– if I enter ‘N’ the items are sorted according to my order (ie they are note sorted by the popup)
– if I enter ‘n’ the items are sorted according to another order (ie they are sorted)So I tried the following hacks on client side :
data.in = query.substr(0,1).toUpperCase() + query.substr(1);
And on server side :
$in = strtoupper($in[0]) . substr($in, 1);
But none are working !It means that the items are not sorted if I press on the SHIFT key ..
March 10, 2014 at 9:29 pm in reply to: How to prevent sorting in the auto-complete popup ? How to prevent sorting in the auto-complete popup ? #50797Thanks ..
This is a bad new, it means that I have to forget my initial sorting (wich is relevant) or to forget jQWidgetsMarch 10, 2014 at 9:59 am in reply to: jqxInput + AutoComplete : how to detect focusout vs selection jqxInput + AutoComplete : how to detect focusout vs selection #50760The ‘select’ event was not raised at all when I select an item in the auto-suggest popup, that’s because I was using an older version (corresponding to jquery 1.9.0).
I have updated and now it can work as you describe.Thanks a lot !
March 9, 2014 at 9:41 pm in reply to: jqxInput + AutoComplete : how to detect focusout vs selection jqxInput + AutoComplete : how to detect focusout vs selection #50739Hi, indeed it should ..
But this event is triggered when I select some text in the Input, not when I select an item in the auto-suggest popup.
What is wrong ?Yes, I’ve understood…
But in my case, with property setting the previous dates are not greyed in the calendar, even if they can not be selected.
That’s what I get with your syntax :$(“#DateTimeInput”).jqxDateTimeInput(
{
theme: theme,
width: 130,
height: 23,
//dropDownHorizontalAlignment: ‘right’,
culture: ‘fr-FR’,
firstDayOfWeek: 1,
minDate: new $.jqx._jqxDateTimeInput.getDateTime(new Date(2013, 2, 19))
});But the method works fine anyway, thank you.
That’s right, there’s no more gap (but minDate setting via the property doesn’t work for me).
Thank you
Hi
Theoretically new Date() retrieves the current date, ie 2013/3/18 (?)
So I use this :
$("#dfixc").jqxDateTimeInput('setMinDate', new Date());
And here is what I get :
> keyboard : I can type ’18’, ’19’ into the input field .. I can not type ’17’
> calendar : I can select ’19’, I can not select ’18’ because it’s disabledThat’s why I wonder how to restrict selection to futures dates only, including today ..
March 18, 2013 at 8:55 pm in reply to: jqxInput + autocomplete : how to detect a 'rough' input jqxInput + autocomplete : how to detect a 'rough' input #17337Thanks
But I notice that we can already detect a ‘pop up’ selection with the ‘renderer’ property function.However it would be usefull to detect if the popup has closed without selection ..
-
AuthorPosts