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
I have a Hierarchical WebGrid. By default, the first column for the RootTable has a + or – image to expand or collapse the Child Table.
How can I put some text in Column Header for this column?
Thanks,
Doug
Hello Doug,
I think this is not possible to do because we don't have a properties or it is not designed for text.Can I know more specific about your scenario such as screenshot?
Regards,Handy
Hi,
To the novic, it may not be clear that clicking the Plus Image will allow them to see the child records.
To make it clearer:
- add a Tooltip to the Plus and Minus Images.
- add some Text/Image to the Header
But, I can't figure out how to do either.
Currently I have added a Template Column with a Link Button that executes javascript to expand and collapse the Child Rows.
Hi Doug,
It is possible to add the text to the column header for expand/collapse image, but the width of the header is not possible to be insert with long text. First you need to get the column header element first then you can enter the text.
function window::onload() { var grid = ISGetObject("WebGrid1"); var colHeaderElement = grid.RootTable.GetElement(WG40.COLHEADER, WG40.HTMLTABLE); var headerExpand = colHeaderElement.childNodes[0].childNodes[0].childNodes[0]; headerExpand.innerHTML = "EC"; }
Hope this helps.
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