[RESOLVED] [02/03] Add Image in Datagrid Header
Hi all,
I want to display Image in Datagrid header for sorting. this is the requirement of client. so i can't even think other logic.
Now is there any propert through which i can access datagrid header column ??
If yes then how ??
plz, i need it urgent!!!
Re: [02/03] Add Image in Datagrid Header
Ok i did it but i had to take template column saperated for each item..
Re: [RESOLVED] [02/03] Add Image in Datagrid Header
That is essentially how you would do it. You could've also, I believe, directly accessed the header in the ItemDataBound event of the DataGrid and inserted the image there.
Re: [RESOLVED] [02/03] Add Image in Datagrid Header
Sorry for late posting,
actually i wanted to add the image in When Sort event fire for Column... I know and i did added the control in header but when i rebind the datagrid somehow image is disappeared. (May be reference of e missed up after databinding.)
I still want if somebody help me in this issue.
If i can convert Datagrid column into DataGridItem then I am sure I can did it without Template column.
I need to convert the Column to DatagridItem using Following reference of the Column
DatagridName.Columns(0)
ANY SUGGESTION ??
Re: [RESOLVED] [02/03] Add Image in Datagrid Header
DatagridName.Columns(0).Items(4)
Re: [RESOLVED] [02/03] Add Image in Datagrid Header
Sorry but Item is not available in Column. u can check it.