Computed columns show name as title even when different title is passed
rubenef opened this issue · 1 comments
rubenef commented
Great job with this module.
When creating a computed column with a custom title, the column will still display the name as a title.
computedColumns: [{
title: "my title",
name: "col_name",
function: row => "row value"
}]
Maybe createColumn could receive a title as well? Some pseudo-code:
export const createColum = (name: string, title: string): Column => ({ name, title: title ? title : name });
ayonious commented
Fixed on version 2.8.2