Hi All,
I have a UltraWebGrid with values coming from database. Currently am setting one column of UltraWebGrid as image based on one column value
AddEditDataGrid_InitializeRow
{
If (e.Data("isvalue") = "1") Then e.Row.Cells(3).Text = "<center><img src='../Images/isvalue.png'></center>" Else e.Row.Cells(3).Text = ""
}
<DisplayLayout AllowAddNewDefault="Yes" AllowColSizingDefault="Free" AllowDeleteDefault="Yes" AllowSortingDefault="OnClient" AllowUpdateDefault="Yes" BorderCollapseDefault="Separate"---
Since its an image column,the sorting is not working.How I can do the sorting for this column?
Regards,
Jeena
Hello Jeena,
Please note that sorting an column with injected html or a template column is not supported in UltraWebGrid. Keep in mind that UltraWebGrid has been retired and is no longer included in our product toolset:
http://www.infragistics.com/community/blogs/taz_abdeali/archive/2011/11/17/asp-net-product-changes-in-2011-volume-2.aspx
A custom solution exists for WebDataGrid, allowing the sorting of a template column while using an intermediary hidden column to store the values to sort by:
http://www.infragistics.com/community/forums/t/69134.aspx
Feel free to contact me if you have any questions.
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.