This is a migrated thread and some comments may be shown as answers.

Grid Styling with Angular

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Doug asked on 01 May 2015, 10:04 PM
We are evaluating the Kendo UI components and especially the grid with Angular.  One of the things we will have to do in our applications is to issue a WebAPI call back to a asp.net controller to retrieve data.  It would be best not to embed this into the dataSource parm for the grid, so we would be treating it as local data.  Now all of that works, but I cannot get any styling to apply to the grid, like height and scrolling.  I know this has to be something simple, but...  I have attached files showing our source with comments hopefully to explain.  The files attached are claimant.html which has the html containing the grid.  This is injected via an Angular route.  Also attached is ClaimantController.js which contains the code to fetch data from one of our services and to setup grid options. I appreciate the help if someone can point me to the right documentation of right direction.  Thank you.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 05 May 2015, 12:45 PM
Hi Doug,

There is no claimant.html file in the provided ZIP, but judging by the provided information, I suspect that there is a Kendo UI stylesheet missing. There should be at least two CSS files registered - kendo.common.min.css and kendo.themename.min.css. For certain themes, the common files is different, e.g. kendo.common-bootstrap.min.css. Please double-check.

http://docs.telerik.com/kendo-ui/install/onsite

http://docs.telerik.com/kendo-ui/install/cdn

http://docs.telerik.com/kendo-ui/web/appearance-styling

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Doug
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or