EasyUI Forum
September 15, 2025, 08:12:46 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Merge cell in Datagrid Footer  (Read 8838 times)
xnoybx
Newbie
*
Posts: 7


View Profile Email
« on: October 11, 2015, 11:19:50 PM »

This is a repost from topic http://www.jeasyui.com/forum/index.php?topic=3428.0

Is the feature has already on Version 1.4.3 ?

Thanks
Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #1 on: October 12, 2015, 12:02:02 AM »

Yes, you can call 'mergeCells' method with the 'type' parameter that tells the method to merge the footer cells.
Code:
$('#dg').datagrid('mergeCells', {
index: 1,
field: 'name',
colspan: 2,
type: 'footer'
});
Logged
xnoybx
Newbie
*
Posts: 7


View Profile Email
« Reply #2 on: October 12, 2015, 10:35:43 PM »

Its good. Thanks Jarry.
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!