Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1490
single column in a grid with different editor types
posted

Is it possible to have an igGrid control with a column and have the cells in that one column be different types of editors based on some event? In my example, I am going to have 3 columns in my grid:

 

1. Column name: a drop down of columns from a database table

2. Operand: a drop down of operands such as =, <, >, <=, etc.

3. value: this is the column I want to have different types of editors, based on the entry chosen from the "column name" drop down in column 1 (if it's a numeric field, show a numeric editor, if it's a string, show a text editor, if it's a string with a configurable list, show a drop down with that list, etc.).

 

Is this possible, and if so, any pointers on how to do it?