EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: huyannet on June 22, 2016, 03:22:46 AM



Title: How to add and remove row in treegrid?
Post by: huyannet on June 22, 2016, 03:22:46 AM
I found anwser for datagrid, but it not work with treegrid, please help me
<a href="javascript:void(0)" onclick="javascript:$('#tg').edatagrid('addRow')">Add</a>
<a href="javascript:void(0)" onclick="javascript:$('#tg').edatagrid('destroyRow')">Remove</a>


Title: Re: How to add and remove row in treegrid?
Post by: Pierre on June 22, 2016, 01:32:15 PM
See treegrid documentation, there you have some examples:
http://www.jeasyui.com/documentation/index.php