Jump to content

mhmda

uniGUI Subscriber
  • Posts

    1141
  • Joined

  • Last visited

  • Days Won

    157

Posts posted by mhmda

  1. The Front-End of unigui is Sencha Extjs/Touch, so unigui uses the Sencha components, If you want a special component you can drive it from a base class your own or just use workaround to achieve such result. You can use combo and grid and whenever the user clucks the combo you display the grid with specific results.

    • Upvote 1
  2. If you want to play the sound file pragmatically then this will not help you, because browser by default block playing sound using js, the solution is to use an atomic var and associate it to the first 'click' or 'tap' when  and do:

    myPlay.play();
    myPlay.pause();
    

    And then whenever you need to play it use just:

    myPlay.play(); 
  3. One column online here: http://5.189.151.122:6345/m

     

    Project with one column download here: http://3msoft.net/mhmd/6345.rar

     

    Two column online here: http://5.189.151.122:6346/m

     

    Project with two column download here: http://3msoft.net/mhmd/6346.rar

     

    For more than one column use this CSS:

    .ordersList .x-list-item {
    	display: inline-block;
    	width: 50%;//divide the width as you want. 50% for 2 columns, 33% for 3 columns, 25% for 4...
       overflow:hidden;
    }
    

    mehmet3.png

     

     

     

     

     

    mehmet2.png

     

     

     

     

     

    mehmet1.png

    • Upvote 3
  4. Use function inside itemTpl:

    config.itemTpl= new Ext.XTemplate(
        '<table class="lsttbl">'+
                     '<tr>'+                 
                      '<td class="lsttbl_title" style="width:100px;padding-bottom:10px;">שם מוצר:</td>'+
                      '<td class="lsttbl_info" style="color:#e91e63;padding-bottom:10px;">{3}</td>'+
                     '</tr>'+
                     '<tr>'+                  
                      '<td class="lsttbl_title" style="padding-bottom:10px;">כמות:</td>'+
                      '<td class="lsttbl_info" style="padding-bottom:10px;">{4}</td>'+
                     '</tr>'+
                     '<tr>'+                  
                      '<td class="lsttbl_title" style="padding-bottom:10px;">זמן:</td>'+
                      '<td class="lsttbl_info" style="padding-bottom:10px;">{5}</td>'+
                     '</tr>'+                                                                
                    '</table>'+
                    '<img src="files/images/ic_prdct{7}.png" style="position:absolute;left:20px;top:15px;"/>'+
                    '{[this.getReady(values)]}',
        {
          getReady: function(values) {
                if(values[6]) return '<img src="files/images/ready.png" style="position:absolute;left:20px;top:20px;"/>';
                else return '';           
            }
        }
     );  
    
    • Like 1
    • Upvote 1
  5. In such case use client IP address as unique key for saving temp data, when user disconnect and return again then you can use the IP address to restore his location and his data.

     

    :::::BE CAREFUL::::  most of isp use dynamic IP for their customers and NOT fix IP, so keep that in your mind 

×
×
  • Create New...