Premium support for our pure JavaScript UI components


Post by pmiklashevich »

Hi! Please produce typings for renderData argument of column renderer function.

const columns: Partial<ColumnConfig>[] = [
  {
    text: 'Groups',
    field: 'title',
    flex: 1,
  },
  {
    text: '#',
    field: 'players',
    width: 20,
    align: 'right',
    // TODO: use Bryntum typings instead
    renderer({ value } : { value: Array }): string {
      return value.length
    },
  },
]

P.S. Same for tooltipRenderer. And fix the argument list since it is an object with properties.

Pavlo Miklashevych
Sr. Frontend Developer


Post by tasnim »

Hi Pavlo,
Thanks for your report. I've created a ticket for that. Here it is: https://github.com/bryntum/support/issues/5015

Best,
Tasnim


Post Reply