EasyUI Forum
April 29, 2024, 05:05:05 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: 1 [2] 3 4 ... 10
16  General Category / EasyUI for jQuery / Re: Linkbutton is disabled but button click is not disabled on: September 11, 2020, 11:59:19 PM
Try this:

Code:
     $( "#btn" ).linkbutton({
       onClick: function() {
            var s = $('#vv').val();
            $("#mydiv").append("<p>Button  Clicked</p>");
        $("#btn" ).linkbutton('disable');
       }

});
17  General Category / EasyUI for jQuery / Re: datagrid formatter disappear after used updateRow method on: September 05, 2020, 11:55:22 PM
just use after update

Code:
var p=$('#GridPatron').datagrid('getPanel');
$.parser.parse(p);
18  General Category / EasyUI for jQuery / Re: Dynamic Column Group on: September 05, 2020, 12:01:52 AM
anybody an idea for this challenge?
19  General Category / EasyUI for jQuery / Re: Dynamic Column Group on: September 01, 2020, 03:55:47 AM
Hi jarry,

thank you for your reply.

Who can do this if i use this code:
Code:
    var columns = $('#tableTimesheet').datagrid('options').columns;
    columns[0]=[];

    for (var i=0; i < (duration + 1); i++) {
        if (typeof currentdate === 'undefined') {
            var currentdate=new Date();
        }
        var currenttime=new Date(starttime.valueOf());
        currenttime.setMinutes(currenttime.getMinutes() + (i * timescale));

        if (currenttime.getHours() < 8) continue;
        if (currenttime.getHours() > 18) continue;
        if (currenttime.getHours() >= 18 && currenttime.getMinutes() > 0) continue;

        currenttime=getHumanTime(currenttime, false)

        columns[0].push({
            field: '' + i + '', title: currenttime, width:'40px', align:'center',
            styler: function(value,row,index){
                return {class:'td_cell',style:'color:red'}
            }
        });
    }

    var row='';
    row+='<tr>';
    row+='<td>';
    row+=surname.value + ', ' + prename.value;
    row+='</td>';
    row+='</tr>';
    $('#tableTimesheet > tbody:last').append(row);

    for (var i=0; i < 15; i++) {
        var row='';
        row+='<tr>';
        row+='<td>';
        row+=i;
        row+='</td>';
        row+='</tr>';
        $('#tableTimesheet > tbody:last').append(row);
    }

    $('#tableTimesheet').datagrid();
}
20  General Category / EasyUI for jQuery / Dynamic Column Group on: August 30, 2020, 11:42:05 PM
Hi there,

i generate a datagrid complete dynamicly. I need to column some header cells as colspan - how can i achieve this?


Thanks
21  General Category / EasyUI for jQuery / Re: Remove Footer from messager on: August 18, 2020, 01:09:00 AM
Awesome jarry!!!


Thank you so much!!!
22  General Category / EasyUI for jQuery / Remove Footer from messager on: August 18, 2020, 12:20:01 AM
Hi there,

how can i remove the footer and button completly from messager?


Thanks a lot
23  General Category / EasyUI for jQuery / Re: Panel Header Pulsation Animation Background on: August 05, 2020, 05:30:06 AM
WOW jarry,


this works AWESOME!!!!


Thank you so much!!!!
24  General Category / EasyUI for jQuery / Re: Panel Header Pulsation Animation Background on: August 04, 2020, 11:29:59 PM
Hi jarry,

thank you for your answer.

When using your solution the header is pulsating - but the panel can't be moved anymore when set the headerCls.

Also i need to remove this pulsating class. When use

Code:
                window.top.$('#window_' + windowId).panel({
                    headerCls: ''
                });

the class is already there.


So what can we do to avoid this?


Thanks
25  General Category / EasyUI for jQuery / Panel Header Pulsation Animation Background on: August 02, 2020, 12:33:42 PM
Hi there,

i want to add a class to panel header to make the header blinking like that

Code:
        .headerClsPulseRed {
            animation-name: backgroundcolor-pulsate;
            animation-duration: 2s;
            animation-iteration-count: infinite;
        }

after adding (and blinking header) i also want to remove the blinking header.


How can i achieve this??
26  General Category / General Discussion / Re: DataGrid: Can server send update with new list without client req from browser? on: June 12, 2020, 02:57:33 AM
Hi,

you could try to use websockets to send new information from server to browser without request from browser.
27  General Category / EasyUI for jQuery / Combogrid + Filter + Pagination on: May 25, 2020, 02:20:42 AM
Hi there,

i am using a combogrid with Filter and Pagination - this works so far.

The Problem is that the pagination on first showing the panel does not work. As soon as query filter is called the pagination also works?

How can this solved so that pagination works also in first showing panel?


Thanks a lot
28  General Category / EasyUI for jQuery / Re: Tree append node add class on: March 28, 2020, 01:26:34 AM
Anybody an idea??
29  General Category / EasyUI for jQuery / Re: Tree data to string on: March 28, 2020, 01:21:31 AM
Hi jarry,

thank you for your reply.

I use this code:
Code:
        var data=$('#tree_main_west').tree('getData', roots[i].target);
        var s = JSON.stringify(data);

And get the error:

Uncaught TypeError: Converting circular structure to JSON


How can i solve this problem?
30  General Category / EasyUI for jQuery / Tree data to string on: March 24, 2020, 06:24:21 AM
Hi there,

is there a chance to convert whole tree data incl. children to a string (JSON) to send it to a server?



Thank yout
Pages: 1 [2] 3 4 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!