EasyUI Forum
April 18, 2024, 08:24:59 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1] 2
1  General Category / EasyUI for jQuery / Re: MaskedBox Required TRUE not working? on: February 06, 2024, 01:44:24 AM

Hi Jarry,

Required is working fine.

Is it possible that required is still ACTIVE till whole maskedit is complete?

Now required is already okay after one character. And not fulfill the whole mask.

Thanx in advance

Hans Spike
2  General Category / EasyUI for jQuery / Re: MaskedBox Required TRUE not working? on: February 05, 2024, 06:42:30 AM
Up and running! thanx
3  General Category / EasyUI for jQuery / Re: MaskedBox Required TRUE not working? on: February 05, 2024, 06:26:51 AM
Thanx Jarry!

I will give it a try !
4  General Category / EasyUI for jQuery / MaskedBox Required TRUE not working? on: February 02, 2024, 05:52:03 AM
Hello Support,

MaskedBox Required-TRUE not working?

How can we do that?

All other boxes working perfectly.

Thanks in advance for your help.

Hans Spiike
5  General Category / EasyUI for jQuery / Re: change value Max in data-options="max : 3"; in numberbox during onchange event on: December 19, 2018, 02:01:50 AM
Thanx Jarry, It works now !

Hans
            
6  General Category / EasyUI for jQuery / change value Max in data-options="max : 3"; in numberbox during onchange event on: December 18, 2018, 05:31:53 AM
Hello,

How can I change dynamicly the "max number" value in data-options from a numberbox?

 <input id="pieces" name="pieces" class="easyui-numberbox" data-options="max : 3, prompt : 'Pieces.', required :false"

I want to change max pieces from 3 to 8;

I tried something like this;    $('#pieces').numberbox('textbox').max = 8;
But this is not working.

Thanx in advance for your help.

Hans
7  General Category / EasyUI for jQuery / Re: AddRow does not save automatically in edatagrid on: April 20, 2018, 11:02:04 PM
Thanks stworthy !

It works now!
8  General Category / EasyUI for jQuery / AddRow does not save automatically in edatagrid on: April 20, 2018, 01:08:58 AM

Hello,

If I call this function it is NOT saving the added record but add a row in the grid and then stays in edit mode in the datagrid..
Why is it not saving directly? I have manually to save it with the Save button then it works but thats not what I want.

It must add a row and directly save it in the grid and database.


function offerte_item_toevoegen(){   
      $('#dg_offerte_items').edatagrid('addRow',{
         row:{
            omschrijving :'11111'
            }
        }).edatagrid('autoSave');     
   }   




$(function(){
      $('#dg_offerte_items').edatagrid({
      loadMsg:'Momentje..',
      autoSave:true,
      url: 'get_offerte_items.php',
      saveUrl : 'save_offerte_items.php',
     
      onSave:function(index,row){
         alert('save');
      },
      });   
   });
   
<table id="dg_offerte_items" title="" style="width: 400px ;height:100% "
            toolbar="#toolbar_client1" pagination="false" pagePosition="bottom" PageSize="10" idField="id"
            rownumbers="false" singleselect="true"   autoRowHeight="false"  fitColumns="true" showfooter="true" >
         <thead>
            <tr >
               <th field="id" style="width:50px;" >ID</th>
                <th field="omschrijving" editor="{type:'validatebox',options:{required:false}}" style="width:100%" >Main items</th>
           
            </tr>
         </thead>
      </table>
   
      <div id="toolbar_client1" style="padding:3px">
      <a href="#" class="easyui-linkbutton" iconCls="icon-save"       plain="true" onclick="offerte_item_toevoegen()">Knop</a>
     
         <a href="#" class="easyui-linkbutton" iconCls="icon-save"       plain="true" onclick="javascript:$('#dg_offerte_items').edatagrid('addRow')">Toevoegen</a>
         <a href="#" class="easyui-linkbutton" iconCls="icon-save"       plain="true" onclick="javascript:$('#dg_offerte_items').edatagrid('saveRow')">Opslaan</a>
         <a href="#" class="easyui-linkbutton" iconCls="icon-cancel"    plain="true" onclick="javascript:$('#dg_offerte_items').edatagrid('cancelRow')">Annuleer</a>
         <a href="#" class="easyui-linkbutton" iconCls="icon-reload"    plain="true" onclick="javascript:$('#dg_offerte_items').edatagrid('reload')">Refresh</a>
   
      </div>
9  General Category / EasyUI for jQuery / Re: Why extremely slow loading using >200 easyui-textboxes ? on: August 20, 2017, 10:45:41 PM
Thanks for your answer,

But it is a static html page which loads the values for the inputboxes from the server from a MySQL table (not clientside)

Another solution to load faster? Or example?

Grt Hans

 
10  General Category / EasyUI for jQuery / Why extremely slow loading using >200 easyui-textboxes ? on: August 12, 2017, 03:40:30 AM
Hello,

I have a panel using href="url";  This url loads eachtime more than 200 easyui-textboxes.
This costs more than 10 seconds loading!

If I use normal textbox (no easyui-textbox) it loads in less than 1 second...

Why is it so slow?

Thanx in advance.

Hans
11  General Category / EasyUI for jQuery / Re: Textbox capitalize first character on: October 29, 2016, 12:38:22 AM
Thanx Jarry!

It works! Grin
12  General Category / EasyUI for jQuery / Textbox capitalize first character on: October 28, 2016, 03:00:35 AM
Hello,

I want to capitalize the first character in a Textbox or Validate box;

This doesn't work;

<input class="easyui-textbox"  name="handelsnaam" data-options="required:true "  style="width:100%; text-transform: capitalize;" >

Can somebody help me?

Thanx in Advance.

Hans
13  General Category / EasyUI for jQuery / Re: autocomplete comboxbox not working with editable=FALSE on: May 13, 2015, 08:53:27 AM
Thanks stworthy;


Ofcourse editable must be on TRUE;

My problem is;

I need the autocomplete function but don't want users to allow "free" text in the editbox of the combo.
They may only Search by autocomplete in de combo but I don't want to store this text in the database....

I only want a row selected by combobox and NOT the Search text.

Hope you understand else I will explain it by a graphic/ image.

Thanks in advance!
Spike
14  General Category / EasyUI for jQuery / autocomplete comboxbox not working with editable=FALSE on: May 13, 2015, 03:45:30 AM
Hello,

I have a combobox and works fine wit the autocomplete function.

When I disable Editable to FALSE autocomplete is not working anymore in the textbox of the combo.
(I dont want users to allow a own text.)  

Is there a solution? Please help,

Thanks in advance.

Spike
15  General Category / EasyUI for jQuery / eDatagrid not showing all added records after addRow on: March 18, 2015, 04:21:41 AM
Hello,

I have a eDatagrid and add a selected group of records from another eDatagrid in the same Window.
Everthing is okay and all records are inserted into de MYSQL table but the reload off the inserted eDatagrid is manytimes not Cry showing all the records.

Mainly the last record is not shown in the Grid (see my code below)

When I do afterwards manually a refresh all records are shown.  
Has it something to do with JSON?  Or is it a Bug?

What am I doing wrong?  Can you give me a solution for this?

Thanks in advance!

Spike


function get_selections_from_grid(){

var hvs_prestatienr          = [];
var hvs_prestatieomschrijving    = [];
var hvs_prestatieverkoopprijs    = [];

var hvs_counter;   
var hvs_totaal_aantal_regels;
   
   hvs_counter=0;
   
   var rows = $('#dg_client1').datagrid('getSelections');

   hvs_totaal_aantal_regels = rows.length;
   
   for(var i=0;i<rows.length;i++){
      hvs_prestatienr.push(rows.prestatienr);
      hvs_prestatieomschrijving.push(rows.prestatieomschrijving);
      hvs_prestatieverkoopprijs.push(rows.prestatieverkoopprijs);
   }   
      
   for(var i=0;i<rows.length;i++){   
      $('#dg_hvs').edatagrid('addRow',{
      row:{
         dossiernummer   : row22.id,
         tax          : row22.tax_tarief,
         zoeknaam      : row22.zoeknaam,
         prestatieomschrijving : hvs_prestatieomschrijving,
         prestatieverkoopprijs : hvs_prestatieverkoopprijs
         }
      }).edatagrid('saveRow');  

      hvs_counter=hvs_counter+1;  // COUNTING SAVED ROWS
   }    

   
   if ( hvs_counter == hvs_totaal_aantal_regels ) {
      $.messager.alert(' ALLE PRESTATIES ', 'GRID EN TOEGEVOEGD AAN FACTURATIE');
      $('#dg_hvs').edatagrid('reload');  // THIS GOES TO EARLY I MISS SOMETIME RECORDS IN THE GRID
   }



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