EasyUI Forum
September 18, 2025, 11:07:47 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 / how to render a linkbutton at grid? on: May 26, 2012, 09:22:30 PM
Code:
<table id="datagrid" url="ResultRecords.aspx" pagination="true" singleSelect="true" toolbar="#toolbar">
    <thead>
        <tr>
        <th field="SiteID" width="180">List ID</th>
        <th field="ResultId" width="40">button</th>
        </tr>
    </thead>
</table

I want to display a linkbutton at each data row.
Could someone tell me how to do?

I tried to use
Code:
    function formatReload(r, v, i) {
        return '<a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-save"></a>';
    }
but it failed.
2  General Category / EasyUI for jQuery / datebox can not get property of formatter on: May 18, 2012, 07:01:04 PM
date convert function
Code:
function dateformatter(v) {alert(v);}

the follow code can not invoke dateformatter to conver date format.
Code:
<input id="dd" class="easyui-datebox" formatter="dateformatter"></input>

but if using the following code, it works!
Code:
<input id="dd"></input>
<script type="text/javascript">
$('#dd').datebox({
        formatter: dateformatter
});
</script>
3  General Category / EasyUI for jQuery / Re: How can make a mask before submit in a form? on: May 18, 2012, 03:04:07 AM
Here is mask sample. for reference...
4  General Category / EasyUI for jQuery / How can make a mask before submit in a form? on: May 18, 2012, 03:01:05 AM
in a dialog, there is form.
Code:
<div id="dialog" class="easyui-dialog" closed="true" buttons="#dialog-btns"><form id="form1"> form html code ... </form></div>
<div id="dialog-btns">
        <a href="#" class="easyui-linkbutton" iconCls="icon-ok" onclick="save()">Save</a>
</div>

I want to make a mask when click [save] button, just like refresh in datagrid, showing [processing, please wait...] with mask behind.
after submit finished, then remove the mask.

Could someone tell me how to do that?
5  General Category / EasyUI for jQuery / Re: Report one issue about href and cache property in dialog on: May 18, 2012, 02:47:01 AM
Thank you very much!
It is fixed from your point.
6  General Category / EasyUI for jQuery / Re: Report one issue about href and cache property in dialog on: May 17, 2012, 08:07:23 AM
Could someone help me out, how to make it reads remote data with property Href when it open?
It is very important  now.
Please!!
7  General Category / EasyUI for jQuery / Report one issue about href and cache property in dialog on: May 14, 2012, 07:02:39 AM
using 1.2.6 version and chrome (17.0.963.56m) browser.
There are two issues happen to me, when I use dialog function.
1. when it sets cache is false, the data can not reload remote data while open it again.
2. when it initiates, it seems to get remote data twice. (I can see the accessed logs from chrome)

Dialog Html
Code:
 <div id="dlg" class="easyui-dialog" closed="true" buttons="#dlg-buttons"></div>
<div id="dlg-buttons">
<a href="#" class="easyui-linkbutton" iconCls="icon-ok" onclick="saveUser()">Save</a>
</div>

JavaScript
Code:
    function add() {
        $('#dlg').dialog({
            title: 'New Title',
            width: 600,
            height: 300,
            cache: false,
            closed: false,
            href: 'ClientSiteAct.aspx'
        });
    }
8  General Category / EasyUI for jQuery / Re: Report one issue about checkbox in datagrid on: May 14, 2012, 06:25:06 AM
Thank you so much!
9  General Category / EasyUI for jQuery / Report one issue about checkbox in datagrid on: May 13, 2012, 06:19:44 AM
using 1.26 version.

in the header, it has
Code:
<th field="LogId" width="20" align="center" checkbox="true"></th>
to define a check box and relate to LogId column.

But in broswer (Chrome, 17.0.963.56m), the checkbox html is converted to be

Code:
<td field="LogId"><div style="width:undefinedpx;text-align:center;height:auto;" class="datagrid-cell-check "><input type="checkbox"></div></td>

1. width value is not correct
2. hoping to bind 『LogId 』value to checkbox, as <input type="checkbox" value="XXX">, helping users to get much more customer data.

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