templateDate

defines the template for the date section of Timeline

string|function templateDate;

Example

webix.ui({
    view:"timeline",
    type:{
        templateDate:function(obj){
            return webix.i18n.longDateFormatStr(obj.date);
        }
    },
    data:time_data
});

Related samples

See also
  • API
  • Articles
  • Back to top