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 multiple Checkboxes in the grid. I wanted to allow user to do select all. If i put the Rowchecker I am
not able to add the caption. As there are mutiple Checkboxes i want select all option with Header. can you provide me solution?
Waiting for reply.
Waiting For reply. Need quick response
When a column has its IsRowChecker property set to True, a few other properties will be automatically configured such as Width to 25px, ColumnType to Checkbox, SelectColumns To No and so on. The "select/deselect all" checkbox in Caption is automatically generated for IsRowChecker column. The code for the select/deselect all functionality has also been written internally.
Since the column type of Row checker column is checkbox, Caption property won't take effect when set. However, you can use the "hack" technique to the row checker element to add label element, such as shown in the following JS function.
function SetColumnCaption() { var grid = ISGetObject("WebGrid1"); var rowCheckerElm = grid.RootTable.GetElement(WG40.COLHEADER, WG40.HTMLTABLE).cells[1].childNodes[0].childNodes[0].childNodes[0]; var newLabel = document.createElement("label"); var newContent = document.createTextNode("this is text node"); newLabel.appendChild(newContent); grid.RootTable.GetElement(WG40.COLHEADER, WG40.HTMLTABLE).cells[1].childNodes[0].childNodes[0].appendChild(newLabel); return true; }
Hope this help.
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