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
Latest Development Blogs
ForumPostTopic
Browse By Tag
All of our client who up^graded Chrome to version 70 are not able to use the filter anymore inside the Webgrid control.
Regards,
Alex
Same here.
Any fix?
same issue, Any fix for this yet?
Same problem here. We need quick resolution
Here is what we changed in webgrid_ui,js to temporarily fix this (in bold):
ProcessFilteredColumns: function(m, k, l) { var n = null; var h = m.Grid; if(h.HeaderContext) { n = h.HeaderContext.parentElement } if(typeof (k) == "undefined") { m._LastFilters.Clear() } if(!h.LayoutSettings.ShowFilterStatus || !h.LayoutSettings.StatusBarVisible) { k = true } for(var j = 0; j < m.FilteredColumns.length; j++) { //patch Chrome 70 filter m.FilteredColumns[j].FilterText = m.FilteredColumns[j].FilterText.trim(); //endpatch Chrome 70 filter var f = m.FilteredColumns[j]; var a = m.Columns.GetNamedItem(f.ColumnMember);
What's happening is that a tab is being added to the innerText of the cell element. Believe it or not, innerText functionality was not working according to standards in previous versions of Chrome. As part of Chrome's latest release, they fixed it to adhere to these standards. Here is the link to the standard: innerText functionality. If you look at number 6, it explains the standard for table cells. As far as a fix for this and functionality of the webgrid, I'm still workng on that. I've tried stripping the tab and then setting the innerText to the stripped value but it always gets added back. So far the only thing that I can do is strip the value before the code retrieves the data from the database.
webgrid_ui.js can modify, but How to update ISNet.WebUI.WebGrid.Resources.dll file. Thanks
When i disable SmartWebResources (doesn't use SmartWebResources) and set the path like below:
<add key="ISNet.WebUI.WebGrid.v10_0_7200.RenderingMode" value="HTML5" />
<add key="ISNet.WebUI.WebGrid.v10_0_7200.ScriptDirectory" value="~/CommonLibrary/WebGrid/V10_0_7200/" /> <add key="ISNet.WebUI.WebGrid.v10_0_7200.ImagesDirectory" value="~/CommonLibrary/Images/" /> <add key="ISNet.WebUI.WebGrid.v10_0_7200.SharedScriptDirectory" value="~/CommonLibrary/Shared/" /> <add key="ISNet.WebUI.WebGrid.v10_0_7200.WebDesktopScriptDirectory" value="~/CommonLibrary/WebDesktop/V5_0_7200/" /> <add key="ISNet.WebUI.WebGrid.v10_0_7200.LocalizationDirectory" value="~/CommonLibrary/WebGrid/V10_0_7200/Localization/" /> <add key="ISNet.WebUI.WebGrid.v10_0_7200.HelpURL" value="~/Help/h_webgrid.html" />
and set Common Library folder in IIS,
but some image do not show,see attach file
Do you have this in your web.config?
<add key="ISNet.WebUI.WebGrid.v10_0_7200.EnableWebResources" value="Never"/>
As I stated previously, the value can be set to "Never" as shown in the example which doesn't use any of the Resource files or to ResourceOnly which only uses SmartWebResources for images, styles, xml files.
Otherwise I'm honestly not sure. All I can tell you is to right click on the image and click inspect element in IE or inspect in Chrome and see what the src of the image is. Then make sure that the image exists in that path.
Just a disclaimer - I don't work for intersoft and I am by no means an expert. My knowledge is limited to the pieces of information that I've researched to exhaustion and it is still spotty.
Is possibile to have an official fix in the .dll file so is easy to set up?
Probably if anyone is still around at Intersoft. I've asked questions in chat and email for a few issues over the last few months and haven't heard anything. They no longer answer forum questions and they haven't put any hotfixes out in a while either. I've resorted to asking a reseller if they know anything but haven't heard back.
That being said I was able to correct the filter (and the tables cells and add new row because we were having problems there too) by using the Client Side Event OnEndRowEditing. Here is what I did. It's not pretty but it works.
function OnEndRowEditing(controlId, row) {
var row_cells = row.GetCells(); for (var i = 0; i < row_cells.length; i++) { var row_cell = row_cells[i]; if (!row_cell) { continue } else { var row_cell_value = row_cell.Get("Value"); if (row_cell.DataChanged == true && row_cell_value.length > 0) { if (row_cell_value.substring(row_cell_value.length - 1) == "\t") { row_cell.SetValue(row_cell_value.substring(0, row_cell_value.length -1), true); } } var row_cell_text = row_cell.Get("Text"); if (row_cell.DataChanged == true && row_cell_text.length > 0) { if (row_cell_text.substring(row_cell_text.length - 1) == "\t") { row_cell.SetText(row_cell_text.substring(0, row_cell_text.length - 1), true); } } } } return true; }
Thanks Lori Neville for the code, i've tried but for me, your code not working. :(
<ClientSideEvents OnEndRowEditing="OnEndRowEditing"></ClientSideEvents>
The filter bar not change the value using this javascript.
Any idea?
Thanks
Try changing the name of the function (I actually named it GridOnEndRowEditing) just so it's clear you aren't trying to call a built in Intersoft function and also make sure that the javacript file where the function is defined is included in the page the grid is on. In Chrome's dev tools throw a breakpoint into the function and see if it is hitting it after you filter. If it is, step through and see where it might be failing.
I already renamed the funcion and set an alert to test if enter, and enter in the javascript, but the filter not works.
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