EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 02:04:56 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
insert row in datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: insert row in datagrid (Read 10480 times)
evaj
Newbie
Posts: 13
insert row in datagrid
«
on:
February 11, 2013, 02:54:18 AM »
Hello,
I'm using a datagrid but when I'm going to append a lot of rows is very slow, then I'm trying to use append in jquery but it is not works
html code:
<table id="dg" class="easyui-datagrid">
<thead>
<tr>
<th data-options="field:'code'">Code</th>
<th data-options="field:'name'">Name</th>
</tr>
</thead>
</table>
Jquery code:
tds+="<tr>";
tds+="<td>" + code + "</td>";
tds+="<td>" + name + "</td>";
tds+="</tr>";
$("#dg").append(tds);
Please could you help me
thanks
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: insert row in datagrid
«
Reply #1 on:
February 11, 2013, 11:40:16 AM »
Please call loadData method to load uour rows.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...