l-lin / angular-datatables

DataTables with Angular
https://l-lin.github.io/angular-datatables/
MIT License
1.57k stars 481 forks source link

Run example code of web with error. #1744

Closed logiMorales closed 4 months ago

logiMorales commented 1 year ago

:beetle: bug report

I try to run the example of the web https://l-lin.github.io/angular-datatables/#/advanced/load-dt-options-with-promise but i can't.

:microscope: Minimal Reproduction

StackBlitz/GitHub Link: https://stackblitz.com/edit/stackblitz-starters-hiiqoa?file=tsconfig.json Step-by-step Instructions: Not necessary the error show instant

:8ball: Expected behavior

Run an example of the code examples of the web https://l-lin.github.io/angular-datatables/#/advanced/load-dt-options-with-promise

:camera: Screenshots

image

:globe_with_meridians: Your Environment

:memo: Additional context

shanmukhateja commented 10 months ago

Hi, this sounds like strict type checking interfering with app initialisation.

Can you try setting any type something like this:

  1. dtOptions: any
  2. http.get(...)

Edit: I noticed you are using v15 angular-datatables for v16 Angular. Please use v16 of the library for best results.

shanmukhateja commented 4 months ago

Closing ticket due to lack of response.