Title: [SOLVED] Datagrid: how to merge two columns in one Post by: danny36 on July 24, 2017, 05:52:54 AM I have a datagrid with some columns, I want to merge two cols in one for better mobile reading. How to?
For example my data {id: 1234, name: john, surname: doe, address: mmmmm, email: mmmmmm} I want to display name and surname separated by <br> in one col. Title: Re: Datagrid: how to merge two columns in one Post by: jarry on July 24, 2017, 03:32:09 PM Please call 'mergeCells' method to merge the datagrid cells. Here is the example shows how to use this method.
https://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=material&dir=ltr&pitem=Merge%20Cells%20for%20DataGrid&sort= Title: Re: Datagrid: how to merge two columns in one Post by: danny36 on July 25, 2017, 01:48:24 AM I have resolved in different way, I use formatter of a field. In the result of formatter I have a row with all available data so I can show name+surname in the same cell.
|