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,
how to ge the column footer value on client side using javascript?
Moreover in the footer for this column we have the total anyway it is not update after a delete row operation instead after an add or update row it is updated well.
Thanks,
Vincenzo
Hello Vincenzo,
Unfortunately, it doesn't happen on my end.
I have attached a simple sample file with AllowAddNew, AllowDelete set to True.
Try to add new row and delete any row, and you will see the column footer gets updated.
If the sampe doesn't help, could you create a simple sample that replicates your issue and send me the sample afterwards in order for me to investigate your issue?
Thank you.
Regards,-Martin-
var grid = ISGetObject("WebGrid1"); var table = grid.GetRootTable(); var htmlTable = table.GetElement(WG40.COLFOOTER, WG40.HTMLTABLE); var fotter1 = htmlTable.cells[2];//column1 one var fotter2 = htmlTable.cells[3];//column1 two alert(fotter1.innerHTML);
Hello Vicenzo,
Use the following code to obtain column footer value:
function GetColumnFooter() { var grid = ISGetObject("WebGrid1"); var colFooterGroupElement = grid.RootTable.GetElement(WG40.COLFOOTERGROUP, WG40.HTMLTABLE); var colFooterValue = colFooterGroupElement.parentNode.innerText; alert(colFooterValue); }
What datasource are you using to bind the data? I'm using ISDataSource control to bind Products table into WebGrid, and the total columnfooter gets updated each time I add/delete row.
Hope this helps.
Hi
we use also the ISDataSourceanyway on delete operation the column footer is not update we need to perform the refresh of the grid.
Could you help to fix this issue?
protected void WebGrid1_DeleteRow(object sender, ISNet.WebUI.WebGrid.RowEventArgs e) { WebGrid1.ClientAction.Refresh(); }
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