Home  >  Article  >  Web Front-end  >  Implementation method of jquery miniui table control and merged cells

Implementation method of jquery miniui table control and merged cells

php中世界最好的语言
php中世界最好的语言Original
2018-04-24 10:15:314491browse

This time I will bring you jquery miniui table control and merged cell implementation method, what are the precautions for jquery miniui table control and merged cell implementation, the following is the actual combat Let’s take a look at the case. Table: Merge Cells

Implementation method of jquery miniui table control and merged cells
Reference Example: Merge Cells
Calling method: margeCells. The following code:

grid.on("load", 
onLoad
); 
function onLoad(e) { 
var grid = e.sender; 
var marges = [ 
{ rowIndex: 1, columnIndex: 0, rowSpan: 1, colSpan: 2 }, 
{ rowIndex: 3, columnIndex: 0, rowSpan: 4, colSpan: 3 } 
]; 
grid.margeCells(marges); 
}

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the PHP Chinese website!

Recommended reading:

Summary of jQuery operation Table methods

jquery dynamic operation of table rows

The above is the detailed content of Implementation method of jquery miniui table control and merged cells. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn