Telerik Forums
Kendo UI for jQuery Forum
1 answer
1.4K+ views

Hi,

I have an issue when exporting the grid's content into PDF as rows which contain long texts appear cut off within the same page in the generated PDF. 

This is my current pdf grid configuration:

       pdf: {
            fileName: "myfile.pdf",
            allPages: true,
            paperSize: "A3",
            margin: { top: "2cm", right: "0.5cm", bottom: "1cm", left: "0.5cm" },
            landscape: true,
            scale: 0.8
        }

 

 

 

Is there any way to configure the kendo grid in order to export the full content of a row in many pages to avoid cutoffs?

 

Thanks.

Carlos

Veselin Tsvetanov
Telerik team
 answered on 23 Oct 2020
3 answers
208 views

Hello,

I have a problem with reloading data in my Kendo Treelist.

I have a div <div id="#treeview-div"></div>

when I bind data, I call LoadData function.

When I call the function for the 1° time, all works well.

When I call the function for the 2° time, hiearchical row doesn't work.

 

How can I clear my div and rebind without issue?

 

Thanks

LoadData = function (dati)
{
     
    $("#treeview-div").empty();
 
     
             
    dati.schema = {};
    dati.schema.model = {};
    dati.schema.model.id = "id";
    dati.schema.model.expanded = false;
    //
    var dataSource = new kendo.data.TreeListDataSource(dati);
                         
             
             
           $("#treeview-div").kendoTreeList({
                        dataSource: dataSource,
                        height: 600,
                        columns: [
                            { field: "DataOra" },
                            { field: "Attivita" },
                            { field: "Progetto" }
                        ]
                    });
}
Anton Mironov
Telerik team
 answered on 23 Oct 2020
8 answers
775 views
Hi,

Just wondering if anyone knows how I can catch a click event when a user clicks on a marker. There are click and shapeClick events but dosent seem to be a marker specific event.

Any suggestions greatly appreciated.

Cheers,
M
Preslav
Telerik team
 answered on 23 Oct 2020
5 answers
387 views
How can we add the checkbox filtering found in Grid to a Treelist?
Anton Mironov
Telerik team
 answered on 23 Oct 2020
3 answers
229 views

I'm using a listview with a pager. On my first test page, with nothing else on the page, it shows up correctly:
http://galcott1.com/comfitlabs/products.html

However, when I incorporate it into this page with more content, the display of the number of records doesn't show.

http://galcott1.com/comfitlabs/test2.html
 (click PRODUCTS on the top menu to see the listview)

In case it matters, on the second page the section with the listview (divProducts) is initially hidden when the page loads. It is shown when you click Products on top or make a selection from the category menu (which isn't working yet). I have had some issues with other jQuery plugins that are initially hidden so I'm wondering if that has something to do with it. If not, then what would cause this issue?


Eyup
Telerik team
 answered on 23 Oct 2020
3 answers
2.0K+ views

Currenty i'm using kendo grid server site pagination and there is a problem with page size property. When i choose page size 'all' then i check request body on the web browser and i don't see pageSize property  but when i choose 50 page size everything is OK.

{skip: 0, page: 1, sort: [{field: "Id", dir: "desc"}]} --> page size ALL

{skip: 0, pageSize:50,  page: 1, sort: [{field: "Id", dir: "desc"}]} --> page size 50

 

 

 

 var dataSource = new kendo.data.DataSource({
            type: "json",
            ...
            batch: false,
            pageSize: 20,
            serverPaging: true,
            serverFiltering: true,
            serverSorting: true, 
            schema: {
                data: "Data",
                total: "Total",
                errors: "Errors",
                model: {
                    id: "Id",
                    fields: fieldsCommon
                }
            }
        });

        var masterGrid = $("#" + divId).kendoGrid({
            dataSource: dataSource,
            edit: function (e) {

            },
            save: function (e) {
                kendo.ui.progress($(".k-window"), true);
            },
            groupable: true,
            sortable: true,
            pageable: {
                pageSizes: ['all', 10, 20, 50, 100],
                refresh: true,
                buttonCount: 5
            },
            selectable: true,
            height: 450,
            reorderable: true,
            resizable: true,
            columnMenu: false,
            columns: [
             ...
            ]
        }).data("kendoGrid");

Georgi
Telerik team
 answered on 23 Oct 2020
15 answers
983 views

Hello.

I am looking for way to manage resize columns by user in Angular 2 application. I saw in another versions of KendoUI Grid (for example in AngularJS) that this is possible but I can't find any solution for that in Angular 2 technology. Are you support that or it will be added later?
Also I thinking about reorder columns. And like in last question, I saw in another versions of KenduUI that this feature is implemented but I can't find any way to do that in Angular 2? Should I wait for next versions of Kendo or there is simple way to make it on my own now? Thank you for any answers.

Dimiter Topalov
Telerik team
 answered on 23 Oct 2020
3 answers
559 views
I am trying to dynamically nest grids within a kendo grid, up to 10 levels deep. Is there a good approach you can recommend to dynamically nest the ng-template data so it doesn't look bloated? This is only three hardcoded levels of nesting and already is bloated.  Thanks in advance!
<kendo-grid>
  <kendo-grid-column field="ProductID" title="ID" width="40"></kendo-grid-column>
  <ng-template kendoGridDetailTemplate let-dataItem>
    <kendo-grid>
      <kendo-grid-column field="ProductID" title="ID" width="40"></kendo-grid-column>
      <ng-template kendoGridDetailTemplate let-dataItem>
        <kendo-grid>
          <kendo-grid-column field="ProductID" title="ID" width="40"></kendo-grid-column>
          <ng-template kendoGridDetailTemplate let-dataItem>
          </ng-template>
        </kendo-grid>
      </ng-template>
    </kendo-grid>
  </ng-template>
</kendo-grid>
Hetali
Telerik team
 answered on 22 Oct 2020
1 answer
77 views

Hi,

is there an option to disable the auto-submit of the data from search toolbar of the grid? It's not very efficient in our case with a remote datasource to query the DB for data on every change. We'd like to disable this feature and submit on enter/click.

Ivan Danchev
Telerik team
 answered on 22 Oct 2020
1 answer
286 views

Having difficulty displaying a page which contains a Kendo Grid.  @(Html.Kendo().Grid(Model)...  Running the application through VS 2017.  I have a menu page with four selections, one selection (a button) is the option to display data, in a separate page, using a Kendo Grid.  If I place breakpoints in the controller and one in the view, @(Html.Kendo().Grid(Model).., the page displays, with the data as expected at it works fine.  If I remove the breakpoints, the app will not display the page with the Kendo Grid, no error, it does nothing.   I've been using Google Chrome and I've hit the F12 to display developer options but I'm not seeing any explicit errors.  

Any ideas on why this might occur?

Martin
Telerik team
 answered on 21 Oct 2020
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?