Home Forums WinForms controls Xceed Grid for WinForms Sorting Images Reply To: Sorting Images

User (Old forums)
Post count: 23064


if we are adding a “Image” column how we can do the sorting. Is there any other ID property to set for same image… 

//Defining the Image column

            Xceed.Grid.Column imageViewer = new Xceed.Grid.Column(“Info”, typeof(System.Drawing.Image));
            imageViewer.CellViewerManager = new Xceed.Grid.Viewers.ImageViewer();

 //Images are loaded through program, (static)

if (!string.IsNullOrEmpty(delProb) && !string.IsNullOrEmpty(renewal))
row.Cells[“Info”].Value = global::Red.Main.Properties.Resources.New;
else if (!string.IsNullOrEmpty(delProb))
row.Cells[“Info”].Value = global::Red.Main.Properties.Resources.Symbol_Restricted;
else if (!string.IsNullOrEmpty(renewal))
row.Cells[“Info”].Value = global::Red.Main.Properties.Resources.Info;



Imported from legacy forums. Posted by bdmsoft (had 521 views)