iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Gentlemen,
It is possible to create a client side event, or other method, to only allow timeline bars to be moved AND/OR resized based on a "conditon"?
For example, my event query is customized and I have an integer field named "RecordType" that has a value of 0 or 1. What I would like to do is NOT allow moves or resizes of timeline bars if the RecordType = 0.
If this cannot be done on a custom field, (RecordType), I can use an existing field like Subject or Mode and populate these fields with a 0 or 1 instead.
Is this possible?
Thanks!
Hello,
Yes, it is possible to customize the event based on some conditions.
You can use DisableEdit, DisableMove and DisableResize in certain event by using OnEventBound clientside event.
In OnEventBound, you can also retrieve your custom field information inside MasterObject property. (evt.MasterObject).
Please see my code snippet in below for more details.
function WebScheduler1_OnEventBound(controlId, evt)
{
var WebScheduler1 = ISGetObject(controlId);
var CustomField = evt.MasterObject.CostumField; // evt.MasterObject.[your costum field name]
if (CustomField == 100) {
evt.DisableEdit = true;
evt.DisableResize = true;
evt.DisableMove = true;
}
return true;
Hope this helps. Thank you.
Regards,
Hans K.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname