Our blazing fast Grid component built with pure JavaScript


Post by tjmeal »

Dear all,

I would like to config a cell to accept only negative numbers > if a user types "10" > to automatically the cell make it > "-10"

Is that possible ? If yes how ?

The cell i would like to do that is >

    {
      id: 'pi-transferOperatorPrice-field',
      text: 'Operator Price (€)',
      field: 'transferOperatorPrice',
      ...gridColumnConfig,
      minWidth: 150,
      type: 'aggregate',
      sum: 'sum',
      format: {style: 'currency', currency: 'EUR', fraction: 2},
      editor: {
        required: true,
      },
    },

Post by mats »

Not supported, but you can set min/max and show a tooltip and / or a placeholder.


Post by tjmeal »

Thank you very much.


Post Reply