EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: wymak on December 09, 2014, 05:56:15 AM



Title: change table header in runtime
Post by: wymak on December 09, 2014, 05:56:15 AM
I had a table with the following header;

<thead> 
            <tr> 
               <th field="descp" width="30%" >description</th> 
               <th field="quan" width="16%" align='right'>quantity</th>
            
            </tr>   
</thead> 

How can I change to 2nd column header title (during runtime) from 'quantity' to, say 'amount'?

thanks,
Mak


Title: Re: change table header in runtime
Post by: stworthy on December 09, 2014, 08:16:54 AM
Please refer to this tutorial http://www.jeasyui.com/tutorial/datagrid/datagrid6.php