Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Latest commit

 

History

History
21 lines (16 loc) · 638 Bytes

col-display-edit.md

File metadata and controls

21 lines (16 loc) · 638 Bytes

col-display-edit

one value-converter when displaying date and one for when editing

That way you can have formatted value during display and show entire value when editing

<v-grid-col
         col-filter-menu="filter:number"
         col-label-menu="sort:number"  
         col-width="100"
         col-css="color:${tempRef.numberColor};font-weight:${tempRef.numberFont}"
         col-sort="field:number" 
         col-filter="field:number;operator:<" 
         col-display-edit="field:number;edit:editFormatNumber;display:displayFormatNumber"
         col-field="number" 
>