Show Posts
|
Pages: [1]
|
1
|
General Category / EasyUI for jQuery / enter functionality for easyui-datebox
|
on: May 05, 2014, 03:12:12 AM
|
Hi All,
For easyui-datebox, without key handler, is there any other way to call a function by clicking an enter key (like onKeyPress, onKeyUp...). I tried like below..
<div class="formCell"> input id="timiLimitFrom" name="<%= Constants.FILTER_FIELD_TIME_LIMIT_FROM %>" type="text" class="easyui-datebox" sharedCalendar="#sc" data-options="formatter:dateFormat,parser:dateParser,validType:'europeanDateValidator'" style="width:100px;" onkeypress="if (event.which == 13) { inboxFilter.apply(); }"/> </div>
This is my current code. but it is not calling if i click enter on datebox. Could anyone please help. and currently my date box in jsp page is as shown in attachment...
.. Thanks in advance, SRG...
|
|
|
2
|
General Category / EasyUI for jQuery / Display warning when losing a tab in edit mode
|
on: April 25, 2014, 12:33:05 AM
|
Hi all,
I have a requirement that, if any datagrid is in edit mode it need to display warning with popup with the message "Unsaved data will be lost. Do you want to proceed".
Note: It should not be confirm navigation what we see on chrome.
here i am using this code.
window.addEventListener('beforeunload', function(e) { var confirmationMessage = "Unsaved data will be lost. Do you want to proceed?"; (e || window.event).returnValue = confirmationMessage; });
But it is showing confirm navigation. not the popup what ineed . can anyone give me a solution ..
Thanks in advance.. Swetha.
|
|
|
4
|
General Category / EasyUI for jQuery / Multiple Date box with single div
|
on: March 27, 2014, 02:15:49 AM
|
Hi all, If two date fields are there in single Div, but both date fields data is different.(For ex: one date field is for "From" and another is for "To" and JSON data of those rows is {"field":"registrationDateFrom","operator":"is","value":"20140301"} and {"field":"registrationDateTo","operator":"is","value":"20140304"} ) if i load saved data of those fields(one date is for "From" and one date value is for "To"),then different div is creating for "To" field.
I want to know How can we skip second row and row value of the second one need to load for second datefield (i,e: "To"). Can anyone help!!!!
Thanks in Advance...
|
|
|
|