tonytomov / jqGrid

jQuery grid plugin
www.trirand.com
2.84k stars 1.2k forks source link

Treegrid and Bootstrap4 #957

Closed toddtsic closed 4 years ago

toddtsic commented 4 years ago

I'm using jqGrid with Bootstrap4 in an Angular 8 environment, everything working fine with grids.

When using:

const jqgModel = {
      treeGrid: true,
      styleUI: "bootstrap4",
      iconSet: "fontAwesome",
      ...
}

I get:

Cannot read property 'colmenu' of undefined

If I comment out the styleUI and the iconSet parameters, the grid displays fine (but without Bootstrap4 styling).

Can you assist?

Thanks

toddtsic commented 4 years ago

Answered my own question:

Was a problem of case,

Requires "Bootstrap4", not "bootstrap4", so:

  styleUI: "Bootstrap4",
  iconSet: "fontAwesome",