DHTMLX : Adding Custom Properties and Show in Scheduler -


i setting dhtmlx scheduler , works fine follow instructions site.

i found there 4 mandatory properties, id, text, start_date, end_date. load other data fields database following code :

        list<bookingcontext> items = new list<bookingcontext>();         items = db.getbookingdata();          var data = new schedulerajaxdata(items);         return (contentresult)data; 

it works fine want display 1 field it; eg. itemname, in schedular view. because default showing time , description. how can customize field display in schedular instead of 'text': description? have browsed through sites didn't find yet.

any appreciated. p.s. dhtmlx alot.

html content of events css class defined templates. properties loaded server available on client , need redefine template use them. c# classes provides syntax defining simple templates shown here http://scheduler-net.com/docs/dhxscheduler.templates.html#dhxschedulertemplates

or can define templates in javascript on client side. check api reference, templates available both on server , on client http://docs.dhtmlx.com/scheduler/api__refs__scheduler_templates.html

and here small example(javascript) http://docs.dhtmlx.com/scheduler/snippet/9de6d9b0


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -