Open MECLab-Michelle opened 6 years ago
Hi,
I'm using aurelia table for a current project to display clinical notes. I have a column with the date and time that the note was written
and the following code for the table.
`
<tbody> <tr repeat.for="clinicalNotes of $displayClinicalNotesData" aut-select="row.bind: clinicalNotes; mode: single;"> <td>${clinicalNotes.patientEncounterDateTime | dateFormat:'DD/MM/YYYY HH:mm:ss'}</td> <td class="pg-nowrap">${clinicalNotes.staffCode + ' - ' + clinicalNotes.staffFullName}</td> <td>${clinicalNotes.note}</td> <td class="pg-nowrap">${clinicalNotes.sourceSystemModule + ' - ' + clinicalNotes.sourceSystemCode}</td> </tr> </tbody> </table>`
I'm wanting to group the notes by the date so that the date isn't repeated. What's the best approach to doing this with aurelia table please?
Cheers,
I'm not sure what you want to do, do you want to display all the notes from the same date together? Could you please provide an example of what you would like to achieve?
Thanks for that. Ideally, I'd like something as follows:
Hi,
I'm using aurelia table for a current project to display clinical notes. I have a column with the date and time that the note was written
and the following code for the table.
`
I'm wanting to group the notes by the date so that the date isn't repeated. What's the best approach to doing this with aurelia table please?
Cheers,
I'm not sure what you want to do, do you want to display all the notes from the same date together? Could you please provide an example of what you would like to achieve?
Thanks for that. Ideally, I'd like something as follows: