I need to bind a combo box in infragistics grid on button click.I am not able to see the combo box on grid binding.I want to know why I am not able to do so.Please help.Thanks
The combo is initializing when we are on edit mode. That's why you can't see the combo. This is the normal behavior.
When you fire the button click event you can get your combo by this line of code:
$("#grid").igGridUpdating("editorForKey", "Your field name").data().igCombo.
And after that you can set your dataSource and bind the combo.
I want to clarify that this is not recommended approach to bind the combo on button click. Could you please describe your workflow with more details, and we will try to recommend you better way to achieve this solution.
If you have further questions, please feel free to contact us.
I'm try to generate the combobox data source from taked it from columnsetting of the grid, like: comboRightsDataSource = grid.data("igGridUpdating").options.columnSettings.editorOptions.dataSource;But It's not working for me because I need to take from hierarchy grid and I have the combobox on the columns layout. Do you have any idea how to take it?