Jump to content

Recommended Posts

Posted
Quote

function beforeInit(sender, config)
{
                                                                                              
 config.itemTpl= new Ext.XTemplate(                                 
    '<table class="lsttbl" border="0"  STYLE="height:40px ;border-radius: 25px;border: 2px solid #7d0a15;padding: 20px; ">'+
                '<tr>'+                 
                   
                  '<td class="lsttbl_title" style="width:130px;vertical-align:top;font-weight: bold">nom:</td>'+
                  '<td class="lsttbl_info" colspan="4" style="width:130px;color:#e91e63;vertical-align:top;font-weight: bold">{8}</td></tr>'+
                  
                  '<td class="lsttbl_title" style="width:130px;vertical-align:top;font-weight: bold">prenom:</td>'+
                  '<td class="lsttbl_info" colspan="4" style="width:130px;color:#4CAF50;vertical-align:top;font-weight: bold">{9}</td></tr></table>'+

    


             '<button  onclick="ajaxRequest(MFICHE.window,''openClick'', []);MFICHE.window.showMask(''wait'');"style="text-decoration: none">hghg </button>'   
             
              
  );  

 

not work showmask when click button erreur.

how can i use spinner bootstrap ' looding'  onclick button

Posted
5 minutes ago, fassisoft said:

not work showmask when click button erreur.

how can i use spinner bootstrap ' looding'  onclick button

Hello,

It is not clear what you ask?
Also, specify the build and edition of UniGUI you are using.
Describe your case in more detail.

Posted

think s

Quote

'<button style=" border-radius: 12px;background-color: #4CAF50;border: none;color: white;padding: 10px;text-align: center;text-decoration: none;display: inline-block;'+
              ' box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);font-size: 16px;margin: 4px 2px;cursor: pointer;type="button" '+
              'onclick="ajaxRequest(MFICHE.window, \'myfonction\', []);">clickboutton</button>'  

I want to add an event to the button when clicking in a long process like screenmask
second method:
  use css and js spinner bootstrap Loading Buttons.
example: css

Quote

<button class="buttonload"> <i class="fa fa-spinner fa-spin"></i>Loading</button>


how can i integrate the code in new Ext.XTemplate.

Quote

<link rel="stylesheet" href="files/font-awesome.min.css">


Uni-1.90.0.1506 version

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...