Hi,
I would like to create a template column in UltraWinGrid. The basic requirement is there is an image followed by text and the image and text have different tooltips and different actions to be performed, but appear as one column. I know that this can be done by creating a template column with 2 controls - one image control and a text box control.
Is my approach correct ? If so, how do I go about creating a template column in the UltraWinGrid ?
Thanks,
Ananth
Hi Ananth,
I'm afraid I don't understand your question. What exactly is a Template Column? I am not familiar with that terminology.
Hi Mike,
The template column is like a custom column, where I can control the content of the column. In the ASP.NET web grid terminology, this is a custom column whose content you provide. Hope this helps. In any case, the requirement is to have a icon and a text in the same column (data) cells. The icon and the text will have different functions and tooltip.
Oh, I see. Well, the WinGrid doesn't have Template columns like that. You can put an image in a column, of course. Of a button, if you like. Tooltips would have to be handled programmatically in the MouseMove event. You could detect what part of the grid the mouse is over and change the tooltip accordingly.