Dear all,
How can I change the column format in ultragrid to be URL link so that when user click the cell link , it will trigger ultraGrid1_AfterCellActivate?? I need to be in coding such as this.ultragrid1.displayLayout.Bands[0].Columns["SKU"].xxxxx
private void ultraGrid1_AfterCellActivate(object sender, EventArgs e) {
Hello Rchiu5hk,
I try to reproduce your scenario in a small sample. Could you please take a look at the attached sample and video file and let me know if you have any questions.
Regards
How to apply to label and what is the event function?
I`m not sure what you are looking for, but if you take a look at the attached sample, there are few different approaches to set URL link in the UltraGrid`s cell.
Column B - I`m using the property style. For example:
ultraGrid1.DisplayLayout.Bands[0].Columns["B"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.URL;
Column C - I`m using EditorComponent property with UltraFormattedTextEditor:
ultraGrid1.DisplayLayout.Bands[0].Columns["C"].EditorComponent = ultraFormattedTextEditor1;
Column D - I`m using EditorComponent property with UltraFormattedLinkLabel
ultraGrid1.DisplayLayout.Bands[0].Columns["D"].EditorComponent = ultraFormattedLinkLabel1;
Please take a look at the attached sample for more details and let me know if you think that I misunderstood your scenario. If so, please provide us more details.