charlespockert / aurelia-bs-grid

Aurelia and Bootstrap powered datagrid control
MIT License
45 stars 21 forks source link

Headings are only supported as string (no expressions) #52

Open jadrake75 opened 8 years ago

jadrake75 commented 8 years ago

if you use an expression like

${ 'table.column.condition'|t}

for heading in a element it will display that as a literal and not the bound/compiled expression. Makes it difficult for supporting i18n labels/headers.

charlespockert commented 8 years ago

The plan was to make the whole column header customisable a la https://github.com/CharlesPockert/aurelia-bs-grid/issues/11

I'd appreciate some feedback on the syntax though - I'd like to go with the most intuitive/comfortable syntax

Since the aurelia 0.15 release I'm going to move all this over and change some of the way the whole thing is "bootstrapped", plus I want to move it all over to TypeScript as I'd like to get the benefits of that

Making the compiler also compile the column header strings would be a good idea though :)