Author Topic: Add dropdown to summary row of grouped rows  (Read 1246 times)

gwinterhalter

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 15
    • View Profile
Add dropdown to summary row of grouped rows
« on: January 08, 2021, 07:37:01 pm »
Please provide a sample for adding a drop down to a summary ow of grouped rows

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6210
    • View Profile
Re: Add dropdown to summary row of grouped rows
« Reply #1 on: January 11, 2021, 04:30:40 pm »
summary rows are supposed to be read only. Please specify the purpose of adding a drop down to it.

Anyway dropdowns can be added to a column in summary row by adding the following editor definition to the column.

Code: [Select]
editor: function(ui){
if( ui.rowData.pq_gsummary ){ //if summary row of grouped rows.
return {
type:'select',
options:['a','b','c']
}
}
}
« Last Edit: January 12, 2021, 07:39:41 am by paramvir »