columns : [
{
type : 'resourceInfo',
imagePath : '../_shared/images/users/',
text : 'Name',
width : 170,
sum : 'count',
summaryRenderer : ({ sum }) => `Total: ${sum}`
},
[code] {
type : 'number',
text : 'Rating',
field : 'rating',
width : 100,
sum : 'average',
align : 'right',
summaryRenderer : ({ sum }) => `Average: ${sum.toFixed(2)}`
},
{
type : 'number',
text : 'Outoff',
field : 'rating',
width : 100,
sum : 'average',
align : 'right',
summaryRenderer : ({ sum }) => `Average: ${sum.toFixed(2)}`
}
Support Forum
Please refer to the image, How to combine the highlighted Fields.
],[/code]
- Attachments
-
- Please refer to this.
- Capture.PNG (116.75 KiB) Viewed 971 times
Hello
]
[/code]
Want to combine Rating and OutOff columns, It should come in the same column.
columns : [
{
type : 'resourceInfo',
imagePath : '../_shared/images/users/',
text : 'Name',
width : 170,
sum : 'count',
summaryRenderer : ({ sum }) => `Total: ${sum}`
},
[code]
{
type : 'number',
text : 'Rating',
field : 'rating',
width : 100,
sum : 'average',
align : 'right',
summaryRenderer : ({ sum }) => `Average: ${sum.toFixed(2)}`
},
{
type : 'number',
text : 'Outoff',
field : 'rating',
width : 100,
sum : 'average',
align : 'right',
summaryRenderer : ({ sum }) => `Average: ${sum.toFixed(2)}`
}
[/code]
Want to combine Rating and OutOff columns, It should come in the same column.
Please see our services page for consulting assistance: https://www.bryntum.com/services/