Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TimeTableView - capture user change of visible columns (Read 2823 times)
john6630
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Sep 20th, 2010
TimeTableView - capture user change of visible columns
Mar 2nd, 2017 at 3:50pm
Print Post  
Hi Meppy,
Another question - I would like to capture the number of visible columns when the user makes a change to the visible columns. I do not khnow what event is best to use. I need to save this value so when they reopen the calendar I can reset the number of columns to their last usage.

Thanks,
John
  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 2466
Joined: Oct 19th, 2005
Re: TimeTableView - capture user change of visible columns
Reply #1 - Mar 3rd, 2017 at 10:15am
Print Post  
Hi,

The control raises TimetableSettings.SettingsChanged event when VisibleColumns value changes - regardless if interactively by user or if set by your code.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
john6630
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Sep 20th, 2010
Re: TimeTableView - capture user change of visible columns
Reply #2 - Mar 4th, 2017 at 3:09am
Print Post  
I can not see how to capture that event. I am using VS2008 and see the event listed in the properties window but do not know how to generate a handler for it. Can you give me some advice?

Thanks,
John
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: TimeTableView - capture user change of visible columns
Reply #3 - Mar 6th, 2017 at 8:14am
Print Post  
Hi,

An alternative would be to inspect the number of visible columns (Calendar.TimetableSettings.VisibleColumns) when the application closes and restore them when it is reopened.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint