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
[Moderator: Please repost]
Not sure why you have the -27 there. I removed it and it worked fine. Thank you
Hello Ron,
Could you please re-post your question in this thread (by adding a new Reply)? Sorry, it appears that your message was inadvertently edited during maintenance.
Thank you!
Can you select which Resources are selected upon initial render?
Hi Ron,
Recently you can show and hide the resources event in Scheduler view from client side using:
function Button2_onclick() { var ws = ISGetObject("WebScheduler1"); ws.HideResources(ws.ResourcesHash[1]); return true; }
But to change the checkbox marked in Resources List you need to get the element first and do manually unchecked for the specific resources.Our dev team has planned to implement this feature in WebScheduler v3 with some enhancement in DataBound server side event that will allow user to manage the resources from the server side. Thanks for keep remind us to implement this feature.
This means no?
This mean, there is no elegant way to achieve your scenario at least for now until we enhance this feature in WebScheduler v3.0. So far you need to manage it on client side using this way:
function OnFirstLoad() { var ws = ISGetObject("WebScheduler1"); var resourcesTable = ws.GetResourcesTable(); var resourcesElement = resourcesTable.childNodes[1].childNodes; for (var i = 1; i < resourcesElement.length - 27; i++) { if (resourcesElement[i].cells[1].innerText == "Developer") resourcesElement[i].cells[0].childNodes[0].click(); } return true; }
Oh sorry it was for debug mode only. I have around 28 resources here and I putted debugger inside for loop, so rather I catch by debugger 28 times I add -27 on the loop. I'm glad it works at your end.
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