@smartbit4all/ngx-generic-pages
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

SmartGenericPages

Usage

SearchPageComponent

A generic search page with filters and a grid (also a SmartComponent). It's model is SearchPageModel.

For now you should create a subclassed component from it, defining a template/style as usual:

@Component({
  selector: 'app-my-special',
  templateUrl: './my-special.component.html',
  styleUrls: ['./my-special.component.css'],
})
export class MySpecialComponent extends SearchPageComponent {
  constructor(inject: Injector, auth: AuthenticationService) {
    super(inject, auth, Pages.MySpecialPage);
  }
}

Grid's identifier is RESULT_GRID, if you need to modify it, override getGridIdentifier() method.

Readme

Keywords

none

Package Sidebar

Install

npm i @smartbit4all/ngx-generic-pages

Weekly Downloads

0

Version

0.0.1

License

none

Unpacked Size

217 kB

Total Files

37

Last publish

Collaborators

  • adam.otvos
  • szabolcs_bazil_papp
  • lipcseizs
  • hbalazs11
  • zoltan.suller
  • attila.mate