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

4.0.8 • 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/generic-pages

Weekly Downloads

85

Version

4.0.8

License

none

Unpacked Size

237 kB

Total Files

39

Last publish

Collaborators

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