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
Handy,
How about now? Does the first post show the line of code for you?
Hi Handy,
That's too bad. This would be a really useful feature and would like to add it to the list for a future update please?
I, unfortunately, can't put it next to it right now as I don't make the design decisions. And it really can't be put next to it without the column having to be very wide. Now I haven't tried this, but I wonder if we can make the row twice as high and stick the balance under it which would work better. I'll see if that can be done.
[EDIT] Handy, how can we update the generated text without modifying the HTML. So if our FooterText is set to "Total" and the output is "Total $1,000,000" and we want to append to this a new line like "Balance $30,000" so the cell would show as in our 3-column example:
Total $500,000 Total $1,000,000 Total $75,000 Balance $30,000
See attached which shows the footer twice as high which would work if we can add extra info to it. Also, note the "extra" line on the footer that is a "hole" or "gap" in formatting. That column is a "trailer" column we add to extend the grid to the right. It's basically a column with which the user cannot do anything.
Okay, that's what I figured.
Also, what's up with this forum's editor? See my original post how it has two of the code lines? I've tried removing the bottom one but it keeps coming back. Would you kindly pass this on to the forum team please? Thank you.
That's great news, thank you.
Glenn,
How's the progress on the fix for this? We really need this fixed as it's holding up one of our major screens so it's critical. Thank you.
I was able to finally get a solution in place. I had to manipulate the different content into specific DIVs and PANELs to get it to work. If you want to try to duplicate it on your end, here's how our master pages are set up.
Main master layout:
<body> <form> <panel> <div> <content place holder> </content place holder> </div> </panel> </form> </body>
Grid master layout (that works) uses main master page as MP:
<content> <div> <div> <panel> <content place holder> </content place holder> </panel> </div> </div> </content>
And the page layout using the Grid master page as its MP:
<content> <WebMenuBar> </WebMenuBar> <WebGrid> </WebGrid> </content>
The Grid master page that did NOT work had the following layout:
<content> <div> <content place holder> </content place holder> </div> </content>
Note that each master page has its own JavaScript that we run on page load and when the user resizes the browser to dynamically resize the DIVs that hold the grid. This is an example of what would be on one of our master pages
<script type="text/javascript" language="javascript"> jsg_PrismUtility.AddClientEvent(window, 'load', resizeGrid); jsg_PrismUtility.AddClientEvent(window, 'resize', resizeGrid); function resizeGrid() { var oDivContent = document.getElementById('<%= Grid_DivContent.ClientID %>'); var oDivGrid = document.getElementById('<%= Grid_DivView.ClientID %>'); if (oDivGrid != null && oDivContent != null) { var oClientHeight = jsg_PrismUtility.WindowHeight(); var oClientWidth = jsg_PrismUtility.WindowWidth(); oDivContent.style.height = oClientHeight + 'px'; oDivGrid.style.width = oClientWidth + 'px'; oDivGrid.style.height = oClientHeight - 82 + 'px'; } try { wgDoResize(true, true); } catch (e) { } } </script>
I've already been clear about this not being a problem until the PAGE IS REFRESHED. FlyPostBacks are fine when the grid loads. This behavior doesn't show up until we save the structure during the post back of any changes like sorting, resizing, moving columns, etc. and then RELOADING THE PAGE is when the issues happens.
So you should be able to analyze this without our structure. Our structure is just the XML you guys provide any way from the grids save xml method which we then store in the database and load via your xml load method.
[EDIT] I'm looking a little deeper into this today to see what the difference is on those pages where it doesn't happen and those where it does. Hopefully I can provide enough info and we can duplicate.
Okay, I debugged into the page and for my browser size the height/width of the container are the same when the grid is loaded fresh and when the page is refereshed to load a user-saved layout. I use IE, so I used F12 to bring up the debugger. In the debugger, I resized the container and then manually ran wgDoResize(true,true) and it had no impact on the size of the grid.
Yep. We use different master pages for different pages and they have their own resize code too. So I have to find what the difference is if any.
In the meanwhile, can you create your own sample where you save your grid configuration and then re-read it on page reload/refresh so your grid keeps your current layout, i.e., if you sort a column, move a column, resize a column, etc.?
You might be able to replicate before I get you anything.
I will try to get something together for you. I ran into an interesting situation where the grid is sizing just fine on one set of screens and then not working, per the above description, on another set of screens. I'm not sure what that would be and the developer for containers is out this week so it'll take me a bit longer to try to narrow the issue down.
At this point, I'm wondering if the problem is with the container on those screen exhibiting this behavior. But I'm wondering why it sizes fine with the default configuration and then once we save and read back the configuration and refresh the page, it would behave differently. I don't get it...yet.
Yes, we already use the wgDoResize(true,true) in our pages and I've tried it with the setTimeout and without and tried different values too, i.e., 100, 500, etc. and nothing is working. Like I mentioned above, it was working fine until we updated to the latest patches/fixes. At least it seems to be when all this started. Very strange.
Any other ideas on what could be causing this? Thanks.
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