First when I try to use the dhtmlxGrid v.1.6 build 80526 groupBy property on a column defined as Link type I get both the displayed Text and the html link info in the Group Header. Only the displayed text should show.
Group Location LOB
Abbott, Fred^javascript:Show_EmplInfo(“06424”); ( 1 )
PRG - Admins Alexandria Ecas Change Implementation
Jorgensen, Dave^javascript:Show_EmplInfo(“53371”); ( 4 )
PRG - Admins Alexandria Ecas Change Implementation
PRG - Admins Alexandria Ecas Retirement
PRG - Admins Bermuda Reinsurance
PRG - Admins Bermuda Retirement
Abel, Jon^javascript:Show_EmplInfo(“60903”); ( 1 )
PRG - Admins Alexandria Ecas Change Implementation
The Second problem occurs when you try to sort the column that is a Link type.
You get the following error.
Line: 5397
Char: 4
Error:Object expected
groupBy used inner value of cell, this is expected behavior.
You can redefine header title as
mygrid.customGroupFormat=function(text){
return text.split("^")[0];
}
with such code, It will show only necessary part of link
>>The Second problem occurs when you try to sort the column that is a Link type.
Problem can’t be reconstructed locally.
Please be sure that dhtmlxgrid_excell_link.js included in problematic page.
If issue still occurs - please send any kind of sample where issue can be reconstructed
The fix to the first problem works.
More info on the sort problem, it dose not matter what the column type is.
It happens on the second click of the column header.
The first click will sort the column in accending order, the last column gets sorted in decending order. see attached screen shots.
The second click to sort in decending order fails with the Error
Line: 5397
Char: 4
Error:Object expected
There is also another sort problem, when using the sortRows function the sort order parm does the opposite.
example sortRow(0,“str”,“asc”) actually displays the contents in decending order.
example sortRow(0,“str”,“des”) actually displays the contents in accending order.
OT_Group_List.asp (7.6 KB)
OT_Group_List_Load.asp (1.62 KB)
Problem confirmed and fixed, please contact us directly at support@dhtmlx.com and provide your ref. number - we will send you an updated files.