search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Add group line in PhpMyadmin

Related article: HTML5 Scheduler
Asked by kree
2 days ago.

Hello,
I am interested in the HTML5 Scheduler, to use only on local with Xampp, i have downloaded your free trial and as i am not a coder, i try to understand by myself how things works and if this solution could fit me. I had a lot of pain to set up correctly the “_db_mysql.php” file to connect localhost but I finally succed.
So, I can edit ressource name in phpmyadmin in the database, after I tryed to edit line in // resource data $items = array(…) and saw it doesn’t has an effect. I also succed to add more ressources in phpmyadmin.

I thought it was the same process to edit / add group, but, I only can edit the name of the original groups. When I insert other line, the scheduler return added groups look like ressources. Could you explain where I am wrong, please ?

Answer posted by Dan Letecky [DayPilot]
2 days ago.

You have added it correctly - but it will only display the expand/collapse icon when you add some child resources.

If you want to hide the additional columns for these empty groups, you can remove the columns using onBeforeRowHeaderRender:

onBeforeRowHeaderRender: args => {
    if (args.row.level === 0) {
        args.row.columns = [];
    }
},
Answer posted by kree
1 day ago.

Hi,
Thank you very much for your answer even if I found the clue by myself few minutes ago ( I saw your post just at this moment, as I wanted to inform you I solved my issue after spending the evening to make a lot of tests… The solution was so simple and logical).
Can I take this opportunity to ask you if displaying availability in group is possible like in the javascript scheduler ? If so, I will enjoy to play with this feature and learn e few things, if not, i will explore others.

with my sincerest thanks

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):