pratik227 / quasar-qgrid

QGrid is a Quasar App Extension. It allows you to filter data for each column, Drag and Drop Rows and also allows you to filter data using header filters.
https://next-quasar-qgrid.netlify.app/
MIT License
112 stars 92 forks source link

Returns an undefined column error when using a functional field in column definitions #91

Closed murataras closed 1 year ago

murataras commented 1 year ago
const columns = [
  {
    name: "evrakTip",
    align: "center",
    label: "Evrak Tipi",
    field: (row) => row.DocTypes.TypeCode,
    sortable: true,
    filter_type: "select",
    show_filter: true,
  },
  ...
];

I used functional field

field: (row) => row.DocTypes.TypeCode

return this error in getColumnOptions method

resim

pratik227 commented 1 year ago

Hi,

QGrid doesn't support function field

murataras commented 1 year ago

OK thanks

pratik227 commented 1 year ago

Closing this issue