View Issue Here (Stackblitz):
https://stackblitz.com/edit/angular-itxkwr
I have added (onCellSelection)="onSelect($event)" to my markup on my grid.
My callback doesn't execute when I select the cell.
The documentation says I need to import some class to make things work, but it fails to be specify as to where I should import these classes from relative to " ...} from 'igniteui-angular/...etc" and it doesn't mention what needs to be included in the Angular module or component. Are these class providers the component needs?
Documention:
import { IgxGridBindingBehavior, IgxGridColumnInitEvent, IgxGridComponent } from "../../../src/grid/grid.component";
import {
DataContainer,
IDataState,
IgxSnackbar,
IgxToast,
IPagingState,
PagingError,
SortingDirection,
StableSortingStrategy
} from "../../../src/main";
I'm using the igniteui-angular module pulled in from npm, so the above documentation is not helpful. I don't have "../../../src/main" in my project. Does this mean I should reference "igniteui-angular/main"?
It would nice if you had an angular-cli demo project implementing the grid. That would clear up everything.
Thanks, that works! I have another question, but I will open up another issue for that.
@QuinntyneBrown closing this one as I see your question was answered reopen and comment if needed :)