EasyUI Forum
May 16, 2024, 05:25:30 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: is there a way, to give the datagrid footer another design ?  (Read 5787 times)
andreas
Newbie
*
Posts: 3


View Profile
« on: April 23, 2014, 01:56:14 AM »

Hi, i'm looking for a way, to have different view for data rows and footer rows.
Like

Code:
<footer>
<tr><td rowspan="2">net</td><td>80,00</td></tr>
<tr><td>vat</td><td>25,00 %</td><td>20,00</td></tr>
<tr><td rowspan="2">gross</td><td>100,00</td></tr>
<footer>
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: April 23, 2014, 08:24:19 AM »

To custom the body rows and footer rows, you have to extend the datagrid view that should override 'render' and 'renderFooter' functions. The example below shows how to extend a card view.
http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=Card%20View
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!