Hi,I want to know how can I add a hyperlink to a single column in Igx-grid?
Also I want to add an icon with the text in one column, but while adding icon I have to check condition of another column. Can you tell me how we can use if condition with another column in igx-grid?
Please let me know.
Thanks in advance!
Hello Vaishnavi,
Thank you for contacting Infragistics Developer Support.
I have created a small sample illustrating how hyperlinks inside cell templates could be achieved in IgxGrid. Please keep in mind that the link is added to the cell itself based on the cell value rather than on the entire column. Columns consist of cells and cells are the one holding the data.
My sample also includes a way to achieve your second requirement as well. “Custom Item” column is templated with an icon and what icon is going to be displayed depends on the value of “Sale Amount” column If it is greater than 3000 than tick icon is displayed and if the cell value of “Sale Amount” is less than 300 the icon is different.
Please have a look at the provided sample and let me know whether it helps you achieve your requirement.
Regards,
Malin Hadzhiev
Entry Level Software Developer
Infragistics
Thank you! This helped me to achieve my requirement.
I am glad that you find my suggestion helpful and were able to solve your issue.
Thank you for using Infragistics components.
Regards,Malin Hadzhiev,Infragistics