Hi Sumair,
We checked your application and suspect that the issue you are facing is that the ribbon component is not rendered. This is because our component related module – “EJAngular2Module” is not imported in below file,
shell.module.ts
import { EJAngular2Module } from 'ej-angular2';
@NgModule({
imports: [CommonModule, TranslateModule, NgbModule, RouterModule, EJAngular2Module.forRoot()],
declarations: [ShellComponent, RibbonComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
}) |
Also, the ribbon tab group is not properly defined in your application. The below code is given in your application,
<e-tabs>
<e-tab id="home1" text="HOME" [groups]="tabHome">
</e-tab>
<e-tab id="insert" text="INSERT" [groups]="">
</e-tab>
</e-tabs>
|
But the tab group name given in ribbon.component.ts is groups1 and insert. So, you have to use following code,
<e-tabs>
<e-tab id="home1" text="HOME" [groups]="groups1">
</e-tab>
<e-tab id="insert" text="INSERT" [groups]="insert">
</e-tab>
</e-tabs> |
You have reported issue that styling is not properly applied, but on checking from our side we did not face any issue related to that. In our sample, we have also showcased how to apply custom styling like below,
app.component.css
.user-info {
color: #131379;
font-size: 22px;
}
|
It is applied in the backstage content,
You can also refer to our documentation given below,
Is this the issue you are facing? If not please get back to us with the details so that we can assist you further.
Thanks,
Christo