JS
Jeba S
Syncfusion Team
January 10, 2008 01:41 PM UTC
Hi Sudha,
Currently we are working for this .We will update you within one business day.
Thank you for being patient.
Best regards,
Jeba.
HA
haneefm
Syncfusion Team
January 10, 2008 04:02 PM UTC
Hi Sudha,
You can use the PrepareViewStyleInfo/QueryCellInfo event to shows the image in a gridcell on demand. PrepareviewStyleInfo event does not store any styleInfo properties in a grid. It just set the visual apperence of the grid. Here is a code snippet that shows this task.
Private Sub gridControl1_PrepareViewStyleInfo(ByVal sender As Object, ByVal e As PrepareViewStyleInfoEventArgs)
If e.ColIndex = 5 Then
Dim grid As GridControl = sender as GridControl
Dim cellRange As GridRangeInfo = GridRangeInfo.Cell(e.RowIndex,e.ColIndex)
If grid.ViewLay.VisibleCellsRange.IntersectsWith(cellRange) Then
'Visible Cell code here...
'e.Style.CellType = "PicturBoxCellType";
Else
'Non Visible Cells.
End If
End If
End Sub
Best regards,
Haneef