EasyUI Forum
September 14, 2025, 06:49:54 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: tree formatter does not work on: May 13, 2013, 01:06:36 AM
Thank you stworthy.
2  General Category / EasyUI for jQuery / tree formatter does not work on: May 12, 2013, 10:53:20 PM
Hi

I would like to format the nodetexts in the tree, but formatter does not fire when I load the tree.

Code:
$obj.tree({
    id : 'id',
    text : 'text',
    lines : true,
    formatter: function (node) {
        console.log("formatter called");
        return '<strong>' + node.text + '</strong>';
    }
});

Tree contains the elements without formatting it.

Thanks your help.
3  General Category / EasyUI for jQuery / Datagrid only one column permanent 100% width on: May 05, 2013, 10:29:34 AM
Hi all

I have only one column in a datagrid.
When I resize the datagrid, the column does not follow it.

At first, how can I set 100% width of the column?
And at second, is it possible to have a permanent 100% width column in the datagrid?

Thanks.
4  General Category / EasyUI for jQuery / Re: dynamically created splitbutton and subitems on: September 25, 2012, 01:20:20 AM
Unfortunatelly it does not work for me.
It generates a new menu item, but not in the menulist, it will be a menuheader. Sad


Thanks, it works!

Mark
5  General Category / EasyUI for jQuery / dynamically created splitbutton and subitems on: September 24, 2012, 09:44:50 AM
How can I create dynamically splitbuttons?

From the doc.:
<a href="javascript:void(0)" id="sb" onclick="javascript:alert('ok')>Ok</a> 
<div id="mm" style="width:100px;"> 
... 
</div>

$('#sb').splitbutton({ 
    iconCls: 'icon-ok', 
    menu: '#mm' 
});

Ok, and how can I insert new items (id, title, icon) in the menu part of #sb?

Thanks, Mark
6  General Category / EasyUI for jQuery / Vertical Tabs on: September 10, 2012, 07:12:40 AM
Is it possible to create tabs that place vertically?

I couldn't find any solutions.

Please, help.

Thanks, Mark
7  General Category / Bug Report / Propertygrid header show/hide destroy column width on: September 07, 2012, 05:20:50 AM
I generate a propertygrid dynamically:
function createDynamic() {
            $('#holder').html('<table id="pg"></table>');
            $('#pg').propertygrid({
                showGroup:true,
                showHeader:true,
                scrollbarSize:0,
                fitColumns:true
            });
...
}

Load data dynamically:
function loadData() {
            data = '{"rows":[{"name":...
            ...
            $('#pg').propertygrid('loadData', JSON.parse(data));
}
I tied the hideHeader function to click event (eg: button).
var l = false;
function hideHeader(){
            $('#tt').propertygrid({
                showHeader:l
            });
            $('#pg').propertygrid({
                showHeader:l
            });
            l = !l;
}

After header hid and reappeared the column-width of the items were different.
$('#tt') is also a propertygrid (from the demos)
<table id="tt" class="easyui-propertygrid" style="width:300px" data-options="url:'propertygrid_data.json',showGroup:true,scrollbarSize:0"></table>
I works well!

I tested it both on ff and chrome.

Is it a bug, or is it any solution?

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