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 Dhaval Vaghani,
Thank you for your detail information. I am able to replicate the issue now and I have forwarded this to our developer team. I will inform you as soon as I get news from them.
Thank you and have a nice day.
Best Regards,
Andi Santoso
Hi Guillermo,
Unfortunately, our WebGrid will update automatically when it lost focus from its cell or row. So, although we are using OnAfterExitEditMode, we will still need the row to lost focus in order to trigger this event side.
In other hand, it might has a workaround if we are using WebCombo as an edited column. However, if in your end, you can use WebCombo, please let me know and I will try to make those work around for you.
I hope it helps. Thank you and have a nice day.
Hi Dermot O'Sullivan,
Some of our feature in WebDesktop do not support XHTML page. Could you kindly use HTML page instead of XHMTL by removing these code in your sample.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
And replace these code and change them into <html> only
<html xmlns="http://www.w3.org/1999/xhtml">
Hi Gao Xiyin,
Could you kindly go to these thread "http://intersoftpt.com/Community/WebGrid/Two-Grid/", I am pretty sure that the attachment that included and provided by my colleague, is similar to your scenario in here.
Hi Gao Yixin,
When you said change Event's name to 'A', does it refer to change a "New Event" caption into something else? If that so, here is the snippet to do so. We will need a client side event of OnEditingFormShow, then we will need to set a timeout right before the editing form is showing up.
window.setTimeout(function() { ISGetObject("dlgEditing").Window.SetCaption("Add New Event"); }, 10);
I hope it meets your scenario. If not, please provide me with more information that meets your scenario. Thank you and have a nice day.
To delete a row in WebGrid you can use these following snippet:
function Button1_onclick() { var grid = ISGetObject("WebGrid1"); var row = grid.GetSelectedObject().ToRowObject(); row.Delete(); return true; }
To add a row, actually, we will need to insert a default value to our new rows in WebGrid. Here is the snippet:
function Button2_onclick() { var grid = ISGetObject("WebGrid1"); var newRowElement = grid.RootTable.GetNewRow(); var newRow = grid.RootTable.ToRowObject(newRowElement); newRow.Select(); var cells = newRow.GetCells(); cells.GetNamedItem("OrderID").SetText("10248", true); cells.GetNamedItem("ProductID").SetText("42", true); cells.GetNamedItem("UnitPrice").SetText("1", true); cells.GetNamedItem("Quantity").SetText("10", true); cells.GetNamedItem("Discount").SetText("0.05", true); newRow.SetDataChanged(); grid.MarkEdit(); return true; }
Hi Douglas Badin,
Usually, we can only set the WebGrid column property dynamically in server side event of PrepareDataBinding and InitializeLayout. In your case, could you kindly try to use these block of code.
WebGrid1.ClearCachedDataSource(); WebGrid1.RebindDataSource();
These code, ClearCachedDataSource and RebindDataSource, are used to clear cached data source and rebind the datasource. That is why, it is also can help us to re-triggered the server side InitializeLayout event.
Hi Dermot,
Forgive me, however I am not able to replicate the issue of yours. I have tried this scenario under your settings(WebGrid in WebTab and they are under WebDesktopManager), however, all the control in my page is working properly. Perhaps, you could provide me with a simple sample of yours that replicate the issue.
In the other hand, in order to not allow the Window to do resize, you can simply add AllowResize="No" in your <ISWebDesktop:WebDesktopWindow>, ex:
<ISWebDesktop:WebDesktopWindow Name="WindowGrid" Text="WindowGrid" AllowResize="No">
Hi Gao YiXin,
Attached is a simple sample on how to bind WebGrid to DataTable. We will need to declare them in WebGrid_InitializeDataSource on server side and retrieve the WebGrid Structure in PrepareDataBinding. In that particular sample, I used Northwind data set of categories data table. Kindly download , try and let me know if it meets your scenario.
Hi Ben,
In order to have this scenario, we can simply set true of those two properties, Grouping and Column Freezing. For Column Freezing, ensure to set the number of column to be freezed. After that, our WebGrid is simply has a column freezed even though when we do grouping.
I attached you a simple running sample using Northwind database to have this scenario. Kindly download, try it and let me know if this meets your scenario.
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