EasyUI Forum
May 03, 2024, 05:12:18 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: Change the loading progress bar in messager on: September 19, 2018, 07:30:24 PM
You safe my life, thank you very much jarry
2  General Category / EasyUI for jQuery / [SOLVED] Change the loading progress bar in messager on: September 19, 2018, 02:07:57 AM
Hello team,
I call an ajax function to upload a file. Before that call, I use
Code:
$.messager.progress()
to show loading, and it show like this:
https://ibb.co/fnbpSK
How can I change or customize like below:
https://ibb.co/jY667K

Code:
Code:
               $.messager.progress();
DwrService.uploadFileAndInsertToDB(file, JSON.stringify(data), function(str){
$.messager.progress('close');
}

Thanks a lot
3  General Category / EasyUI for jQuery / Re: The title attribute for Combobox is not working on: April 19, 2018, 07:02:16 PM
Hi Jarry,
I have known the reason why it didn't work.
My combox was in one iframe, I tried changed put
Code:
var label = $('#conditionForm_orgName').combobox('label');
label.attr('title', 'Organizaiton Name');

in
Code:
$(window).load(function(e) {....} 
and it works.

Also your solution with using the <span> is very DELICATE and PERFECT, that is what I need.

Thank you billion times, Jarry!
4  General Category / EasyUI for jQuery / Re: The title attribute for Combobox is not working on: April 18, 2018, 05:30:52 AM
Dear Jarry,
Actually before ask this question, I have tried search, and also found an your answer for change label for textbox follow link:
https://www.jeasyui.com/forum/index.php?topic=6843.0

Your code works for textbox, but for combobox:
If I tried put this javascript segment in
Code:
$(document).ready(function(){ .......});
, it doesn't work.

If I put code in onBeforeLoad event of combobox, it works:


Code:
<select class ="easyui-combobox" type="text" id="conditionForm_orgName" name="conditionForm_orgName" style="width: 90%;height: 22px" data-options="label:' Organizaiton Name ', panelHeight:'auto', panelMaxHeight:'200', required:false, editable: false, onBeforeLoad:function(){.....<java script code to change label>......}"/>


Generally, this solution also good, but I wonder if any better solution, like we can extend the 'title' attribute for combobox and re-write for it, but I'm not sure how to do ?
5  General Category / EasyUI for jQuery / Re: The title attribute for Combobox is not working on: April 17, 2018, 08:39:20 PM
Dear Jarry,
Many thanks for your reply, but beside this solution, if it is possible to make the title attribute work, or the combobox plugin didn't support this ?
6  General Category / EasyUI for jQuery / [SOLVED] The title attribute for Combobox is not working on: April 17, 2018, 06:55:30 AM
I have one combobox with the label at the left side, but it's obscured a part.

And I want when the mouse is on the label, it show full text. So, I tried set the 'title' attribute, but it's not working.

Code:
Code:
<select class ="easyui-combobox" type="text" id="conditionForm_orgName" name="conditionForm_orgName" title="Organizaiton Name" style="width: 90%;height: 22px" data-options="label:' Organizaiton Name ',panelHeight:'auto',panelMaxHeight:'200',required:false,editable: false"/>

How can I fix this ?

Thanks.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!