Image in header
Hi Surti,
Here is a forum thread that discuss with simillar issue.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=48719
Best Regards,
Haneef
Here is a forum thread that discuss with simillar issue.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=48719
Best Regards,
Haneef
SIGN IN To post a reply.
7 Replies
SU
Surti
December 4, 2006 11:46 AM UTC
Hellow,
could i show an icon or an image in a header cell?
Thanks,
Surti.
could i show an icon or an image in a header cell?
Thanks,
Surti.
AD
Administrator
Syncfusion Team
December 4, 2006 12:01 PM UTC
Thanks, i want to show the image alinged to the center because now is showed alinged to the left, is it posible???
>Hi Surti,
Here is a forum thread that discuss with simillar issue.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=48719
Best Regards,
Haneef
>Hi Surti,
Here is a forum thread that discuss with simillar issue.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=48719
Best Regards,
Haneef
AD
Administrator
Syncfusion Team
December 4, 2006 12:50 PM UTC
Hi Surti,
Use the NumberedColumnHeader property to turn off the number in a column header of the grid. Andthen you can handle the DrawCell event to draw the center aligned image in a column header cell. Please try the attached sample and let me know if this helps.
Sample : GCColumnHeaderImage.zip
Best Regards,
Haneef
Use the NumberedColumnHeader property to turn off the number in a column header of the grid. Andthen you can handle the DrawCell event to draw the center aligned image in a column header cell. Please try the attached sample and let me know if this helps.
Sample : GCColumnHeaderImage.zip
Best Regards,
Haneef
AD
Administrator
Syncfusion Team
December 4, 2006 03:55 PM UTC
Great!!! Thanks!!! But now i have another question...
Can i do the same out of the event "DrawCell". Could i create a function that works like the event.
>Hi Surti,
Use the NumberedColumnHeader property to turn off the number in a column header of the grid. Andthen you can handle the DrawCell event to draw the center aligned image in a column header cell. Please try the attached sample and let me know if this helps.
Sample : GCColumnHeaderImage.zip
Best Regards,
Haneef
Can i do the same out of the event "DrawCell". Could i create a function that works like the event.
>Hi Surti,
Use the NumberedColumnHeader property to turn off the number in a column header of the grid. Andthen you can handle the DrawCell event to draw the center aligned image in a column header cell. Please try the attached sample and let me know if this helps.
Sample : GCColumnHeaderImage.zip
Best Regards,
Haneef
AD
Administrator
Syncfusion Team
December 5, 2006 07:10 AM UTC
Hi Surti,
This can be achieved by using a custom celltype in a grid. It requires a model class and a renderer class. The model class handles the serialization requirements for the control and creates the renderer class. The renderer class handles the UI requirements of the cell.
Please refer to the below sample for more details.
GCColumnHeaderImage_9ec11c0d.zip
Best Regards,
Haneef
This can be achieved by using a custom celltype in a grid. It requires a model class and a renderer class. The model class handles the serialization requirements for the control and creates the renderer class. The renderer class handles the UI requirements of the cell.
Please refer to the below sample for more details.
GCColumnHeaderImage_9ec11c0d.zip
Best Regards,
Haneef
AD
Administrator
Syncfusion Team
December 5, 2006 09:52 AM UTC
please, could you send me VB.NET code???
Thanks,
Surti
>Hi Surti,
This can be achieved by using a custom celltype in a grid. It requires a model class and a renderer class. The model class handles the serialization requirements for the control and creates the renderer class. The renderer class handles the UI requirements of the cell.
Please refer to the below sample for more details.
GCColumnHeaderImage_9ec11c0d.zip
Best Regards,
Haneef
Thanks,
Surti
>Hi Surti,
This can be achieved by using a custom celltype in a grid. It requires a model class and a renderer class. The model class handles the serialization requirements for the control and creates the renderer class. The renderer class handles the UI requirements of the cell.
Please refer to the below sample for more details.
GCColumnHeaderImage_9ec11c0d.zip
Best Regards,
Haneef
AD
Administrator
Syncfusion Team
December 5, 2006 10:36 AM UTC
SIGN IN To post a reply.
- 7 Replies
- 2 Participants
-
AD Administrator
- Dec 4, 2006 11:46 AM UTC
- Dec 5, 2006 10:36 AM UTC