This is a migrated thread and some comments may be shown as answers.
kendoGrid App_Data?
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 14 Oct 2018, 03:45 PM

Hi

i use a kendGrid like this:

It works great, but if i put the src for Chart1 into the "App_Data" folder and change the Session to the App_Data folder
the grid will not long be displayed. But wh? thanks so far

<script id="Chart1" src='<%=Session["LoginAbas2"]%>'></script>                
<div id="example" class="k-content">
    <div id="grid" style="width:50%;"></div>
    <script>
        $(document).ready(function () {
            $("#grid").kendoGrid({
                dataSource: {
                    data: products,
                    schema: {
                        model: {
                            fields: {
                                ProductName: { type: "string" },
                                Bez: { type: "string" },
                                UnitsInStock: { type: "number" },
                                Discontinued: { type: "string" }
                            }
                        }
                    },
                    pageSize: 20
                },
                height: 430,
                scrollable: true,
                sortable: true,
                filterable: true,
                pageable: {
                    input: true,
                    numeric: false
                },
                columns: [
                    "Bez",
                    { field: "ProductName", title: "Artikelnr.", width: "130px" },
                    { field: "UnitsInStock", title: "Menge", width: "130px" },
                    { field: "Discontinued", title: "Einheit", width: "130px" }
                ]
            });
        });
    </script>

1 Answer, 1 is accepted

Sort by
0
ITA
Top achievements
Rank 1
answered on 17 Oct 2018, 10:04 AM
no Ideas? :-(
Tags
Grid
Asked by
ITA
Top achievements
Rank 1
Answers by
ITA
Top achievements
Rank 1
Share this question
or