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
Hi Zhou Wanghua,What Platform did you use? iOS/Android/WinPhonedid you already use this code in your binding provider? your binding provider lack this code:this.AddBinding("TableView", BindableProperties.RefreshCommandProperty, "RefreshCommand");Can you show me the screenshot/error log of the error?
Here is our working samples: http://git.intersoftpt.com/projects/CROS/repos/samples/browse/MyInventory_WebApiAlso sorry i give your wrong link, here is the how to link: http://developer.intersoftpt.com/display/crosslight/Enabling+Pull+to+Refresh
Hi Jimmy,I'm unsuccessfully replicate the issue using your samples, is there any particular steps that i need to follow?
Hi Leo,I will inform our developer with this issues under CROS-852, estimate fix maybe after v4, i will update you with new information regarding this issues.Best Regards,Arief
Hi Leo,This is confirmed a bug and already reopen the issue (CROS-748) i will update you with new information regarding this issue, estimate fix maybe after v4.Best Regards,Arief
Hi Leo,Thanks for the samples i can run it successfully, i will check the three issues (scroll, image loader, and incremental) using this samples now.Please note i use Crosslight v4 to test this issues (to check whether it already fixed in v4), also you can expect cool new features in v4 by the way! (like view projection, which only obtain needed data make your list become so much faster)
Hi Leo,Actually when running your samples i encounter this error when start the App, is this the same error you get?here is my screenshots as you can see in attachment
Hi Leo,Looks like i encounter error when running your new samples (Index was out of range), can I use your old samples which still functional? (obtained in the top)Did i'm still must swipe fast to reproduce the issue?
Hi ThomasHere is the method that you can use:To localize the cell action:Change your Red Delete Button/cell action into Custom Cell Action, you canread it from this article:http://developer.intersoftpt.com/display/crosslight/Enable+Custom+Cell+Actions+with+Swipe+GestureAlso if you not yet read/implement about localization please read this article first: http://developer.intersoftpt.com/display/crosslight/Localizing+ResourcesI'm really recommend you to downloadboth samples (or just take a peek of their code in git)for examples you want to localize your delete, first you type this in your controller:this.EditActions.Add(new UIEditACtion("Delete", true)); then connecting the "Delete" with your Resource like this:this.EditActions.Add(new UIEditACtion(this.ViewModel.Resources.GetString("DeleteText"),true));This way your Edit action already localized.To mark some items as undeletable, i'm suggesting to create new properties inside your table/model for example bool IsDeletable.If you see the ios-swipe-gesture samples inside ItemListViewModel.cs, you can Handle all of it inside this: protected override bool CanExecuteEditAction(object parameter) { var editParameter = parameter as EditingParameter;
// Write interaction code here to conditionally disable an action /*if (editParameter.CustomAction == "More" && this.Item.IsCompleted) return false;*/
return true; }parameter actually also return items so you can done this:if(((Item)parameter).IsDeletable = false){return false}Hope this will help you!
@ThomasSo based from what i understand is this what you want to achieve:
What i means is similar to whats app or popular messaging? As far as i know the method that i will use in this scenario is using One Table but have different field type and then uses Custom BindingProperties that implemented like in the MyInventory samples (Message In using Left UI label, message out using Right UI Label). If this what you want to achieve i will try to create similar things if it helpsBest Regards,
Arief
Hi Zhong Wanghua,Could you elaborate more about the error, if you have sample, screenshot, or error log, it will be help us to troubleshoot the error.Please note you can read more about how to pull to refresh in this article:http://www.intersoftpt.com/Community/Crosslight/How-to-Pull-to-Refresh/Best Regards,Arief
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