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'm using WebGrid version 7.0.7200.306. I have a grid with grouping enabled and paging mode VirtualLoad. Some of the columns shown in the grid have long captions.
If I set doctype in master page to
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >
then grouping stops working. When you expand group, grid starts to load childs but they are not rendered. In the status bar number of rows loaded is increased. On the other hand, column captions in the grid header are displayed nice (in multiple rows / larger height).
If doctype is set to
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
grouping works, rows are loaded and rendered and everything works as it should. However, column captions in the grid header are displayed in single row. If a column has long caption, only part of it is shown and the top of the other part can barely be seen in the bottom of column header cell.
Is it possible ,in any way, to solve this and have column caption displayed nice and rows rendered when expanding groups?
It works well in here. It seems you were not giving the correct sample. It doesn't have any grouping and virtual load settings.
I tried to set it but the grouping works well. Also, Does the render issue look like my screenshot?
If yes, you can resize the header by setting the width style in its element.
e.g
function WebGrid1_OnColumnGroup(controlId, columnObject) { var WebGrid1 = ISGetObject(controlId); window.setTimeout(function(){resizeGroupHeader();},300); return true; } function resizeGroupHeader() { var WebGrid1 = ISGetObject("WebGrid1"); var table=WebGrid1.RootTable; table.GetElement(WG40.COLHEADERGROUP, WG40.HTMLDIV).parentNode.parentNode.parentNode.childNodes[0].childNodes[0].childNodes[0].childNodes[1].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[2].style.width = "300px"; table.GetElement(WG40.COLHEADERGROUP, WG40.HTMLDIV).parentNode.parentNode.parentNode.childNodes[0].childNodes[0].childNodes[0].childNodes[1].childNodes[0].childNodes[0].childNodes[0].childNodes[0].childNodes[2].childNodes[0].style.width = "280px"; }
Also, would you mind to show me in recording video about how to replicate in this sample? It would help us to understanding the issue.
Regards,Handy
Hello,
Please tried to use the latest hotfix. It should be running well in XHTML because WebGrid already supported XHTML. Regarding the column caption, is it a group column or just a normal column?
I have attached simple web application with grid. Even with the latest hotfix it does not work.
Maybe, the problem is not with XHTML but the combination of VirtualLoad and Grouping.
I need to know how can I make grid do two things:
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