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,
I have posted a similar thread and as that post is closed - and seeing how I have not yet got my scenario correctly, I am opening a new one.
SmartbatchUpdate is very handy and efficient,of course. but one of my Project requirements is to save the edited grid without the need to click on AcceptChanges. For example, when I change tab, the grid needs to be saved automatically(not considering the current option of prompt of staying on the current page).
Just, he action of connecting the event handler of AcceptChanges button to the event of TabChange. Is it possible for a round about way for doing this?
Hope you get the gist of my requirement. Awaiting your response.
WebGrid supports scenario that submits all updates in a single AJAX request via built-in WebGrid user interface, or via API. Add following code to accept all changes from button click client side event.
function Button1_onclick() { var grid = ISGetObject("WebGrid1"); grid.AcceptAllChanges(); return true; }
You can use the above snippet code and add it to the event handler of TabChange event.
Hope this help.
Thanks Yudi.
It is exactly what I expected.
1. Another small issue I am facing which I am hoping you could help with. I have 4 grids in a single page, among which one grid contains around 25 columns visible. Even though the scroll is applied to the shrunken grid, there is space left blank which affects the width of the other 3 grids.
If I apply AutoFitColumns, the columns shrink so much that I can't even figure out more than single letter.
Is there a way to fit in AutoFitColumn with Scroll applied?
2. I need to bind a checkbox column with integer field from clientside asp SqlDataSource itself. It is possible to have something like this: an ItemTemplate with checkbox and Checked = Eval(Container)? Here I have only CellTemplate and when applied the above case, there is no checkbox displayed.
Awaiting your response. Thanks.
... Although I would like a response on the first one, please.
I hope you don't mind to create another thread which specifically discuss about question #1, space left blank appear which affects the width of the other 3 grids. Since this question is not related to the topic discussed in this thread, AutoSave - Excel-like Save for WebGrid.
Thank you and have a nice day.
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