Telerik Forums
Kendo UI for jQuery Forum
1 answer
277 views

Hi,

I would like to have paging on my grid and I am using standard paging options as recommended.

However one of users would like to start with option "Show all", and I can achieve this with setting page sizes, but not pageSize property. Grid automatically falls back to All, which is ok - display of number of records is broken in this case, and instead of showing 135 - 135 of 135 items, it says NaN - NaN of 135 items.

Is the way I am setting grid to use all as default wrong or there is a bug with this behavior?

For the example of behavior, please see the demo

Regards,

Vedad

Georgi Denchev
Telerik team
 answered on 13 Sep 2022
0 answers
75 views

i have two grids, one is a normal Kendo Grid, the Other is a TreeList grid; The regular kendoGrid, has events that fire when the user uses the Menu Filter or clicks the header when sorting. I need to capture when sort/filtering occurs; HOWEVER the TreeList grid doesnt seem to have such event??? i tried same/several renditions; the only one i see from the header Menu is when Columns are Hidden/Shown (e.g. columnShow: & columnHide:) - is there no event for columnMenuFilter  (e.g. Set/Clear) and SORT (e.g. Asc/Desc)?

anyone please advise?

Ricardo
Top achievements
Rank 1
 updated question on 12 Sep 2022
0 answers
331 views

Hi,

We have a grid with virtual scroll enabled.

When double-clicking on the first 15 rows resize handles, it behaves correctly, i.e it automatically fits the columns size to max row width.

The problem occurs now when we begin scrolling horizontally the grid : starting to the 16th column (red backgrounded) resize handle double click action behaves weirdly. Sometimes it fires a scroll event without doing else, sometimes it resizes the column but in the wrong way by reducing width.

Check this JsFiddle to reproduce the problem. Problematic column are red backgrounded.

 

Nick
Top achievements
Rank 1
Iron
 updated question on 09 Sep 2022
1 answer
2.6K+ views

I have a Kendo DropdownList as follows : 

    $("#txtTag").kendoDropDownList({
        dataTextField: "TagDesc",
        dataValueField: "TagId",
        optionLabel: " ",
        dataSource: {
            transport: {
                read: {
                    dataType: "json",
                    url: "/Data/GetTag"
                }
            }
        },
        change: onChange,
        filter: "contains"
    });

I have hidden one of the values by using 

$("#txtTag_listbox li")[4].hidden = true;

However, when I do a filter/search on the dropdown List , the hidden item also appears in that list. How do I prevent it to not appear it in the list.

Neli
Telerik team
 answered on 09 Sep 2022
0 answers
82 views

Would like to check if the below functions are available in Telerik.

  1. Double click on the header column or row can auto fix the column and row size.
  2. Use arrow keys in keyboard to select formula. Currently only support using mouse to click on the formula.

3. Is there any guide/prompt on how to use formula?

4.  "Financial" number format should be similar to Excel i.e. commas every 3 numbers, show bracket for negative value, right alignment
e.g. (1,800,123)

 

5.  Is there any double underline on the cell border? Only have single underline available for now.

 

6. For the Splitter control, can the size of the button below be adjusted? It is too small from the screen.


    Cheng Mun
    Top achievements
    Rank 1
     asked on 08 Sep 2022
    0 answers
    194 views

    I have a diagram configured that reads data from an MVC Controller.  It displays and works fine.  I need to do a long poll and refresh the diagram from the database.  I have tried all kinds of things.

    Called refresh on the diagram object,  called read on the datasource. 

    What is the proper way to get a Diagram to read the data again and redraw itself.  

    Ed
    Top achievements
    Rank 1
     asked on 07 Sep 2022
    1 answer
    103 views

    When calling setOptions on the numericTextBox, the spinner locks up if there is a "factor" option set.

    https://dojo.telerik.com/OYiYogis

    See the above DoJo. Removing the factor seems to fix the issue, but I need the factor so that a user can type in 10 for 10% when the type is percentage but 10 for $10.00 when the type is currency. 

    Georgi Denchev
    Telerik team
     answered on 07 Sep 2022
    2 answers
    460 views

    The FileManager has a toolbar with an inbuilt search text box. How can I change the filtering method from the default (seems to be "startswith") to "contains".

    Thanks for any advice!

    Patrick

    Michael
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
     answered on 07 Sep 2022
    1 answer
    190 views
    I Have 71 Records in the array list, When I Pass That Array To Kendo Org Chart It Takes Too Time To load
    Neli
    Telerik team
     answered on 07 Sep 2022
    1 answer
    220 views
    Good afternoon, excuse my English is bad, I have a kendo treelist in which there is a boolean column with a kendo switch.
    The problem is visual when interacting with my tree list the switch is painted several times as shown in the image:
     
    this is the code i am using:

    {
                        field: "IsModule", title: "@Mui.Is_Module",
                        //width: "70px",
                        editor: checkBoxEditor,
                        headerAttributes: { style: "text-align:center" },
                        attributes: { class: "text-center" },
                        template: "<input class='checkBoxEditor' #if (IsModule) { # checked='checked' # } # type='checkbox' disabled />"
                    },

    If anyone can give me an idea of ​​what I'm doing wrong, I'd be very grateful.
     

     dataSource: dataSource,
                excelExport: exportExcel,
                columnMenu: true,
                editable: "inline",
                cancel: function (e) {
                    var grid = this;
                    var rowUid = e.container.data("uid");
                    setTimeout(function () {
                        grid.element.find("tr[data-uid='" + rowUid + "'] .checkBoxEditor").kendoSwitch({
                            messages: {
                                checked: "@Mui.Yes",
                                unchecked: "@Mui.No"
                            }
                        });
                    });
                },
                dataBound: function () {
                    this.tbody.find(".checkBoxEditor").kendoSwitch({
                        messages: {
                            checked: "@Mui.Yes",
                            unchecked: "@Mui.No"
                        }
                    });
                },


    function checkBoxEditor(container, options) {
        $('<input type="checkbox" name="' + options.field + '"/>')
            .appendTo(container)
            .kendoSwitch({
                messages: {
                    checked: "@Mui.Yes",
                    unchecked: "@Mui.No"
                }
            });
    }

    Nikolay
    Telerik team
     answered on 06 Sep 2022
    Narrow your results
    Selected tags
    Tags
    Grid
    General Discussions
    Charts
    Data Source
    Scheduler
    DropDownList
    TreeView
    MVVM
    Editor
    Window
    Date/Time Pickers
    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)
    SPA
    Filter
    Drawer (Mobile)
    Drawing API
    Globalization
    Gauges
    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
    OrgChart
    TextBox
    Effects
    Accessibility
    ScrollView
    PivotGridV2
    BulletChart
    Licensing
    QRCode
    ResponsivePanel
    Switch
    Wizard
    CheckBoxGroup
    TextArea
    Barcode
    Collapsible
    Localization
    MultiViewCalendar
    Touch
    Breadcrumb
    RadioButton
    Stepper
    Card
    ExpansionPanel
    Rating
    RadioGroup
    Badge
    Captcha
    Heatmap
    AppBar
    Loader
    Security
    Popover
    DockManager
    FloatingActionButton
    TaskBoard
    CircularGauge
    ColorGradient
    ColorPalette
    DropDownButton
    TimeDurationPicker
    ToggleButton
    BottomNavigation
    Ripple
    SkeletonContainer
    Avatar
    Circular ProgressBar
    FlatColorPicker
    SplitButton
    Signature
    Chip
    ChipList
    VS Code Extension
    AIPrompt
    PropertyGrid
    Sankey
    Chart Wizard
    OTP Input
    SpeechToTextButton
    InlineAIPrompt
    +? more
    Top users last month
    Jay
    Top achievements
    Rank 3
    Iron
    Iron
    Iron
    Benjamin
    Top achievements
    Rank 3
    Bronze
    Iron
    Veteran
    Radek
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    Bohdan
    Top achievements
    Rank 2
    Iron
    Iron
    Richard
    Top achievements
    Rank 4
    Bronze
    Bronze
    Iron
    Want to show your ninja superpower to fellow developers?
    Top users last month
    Jay
    Top achievements
    Rank 3
    Iron
    Iron
    Iron
    Benjamin
    Top achievements
    Rank 3
    Bronze
    Iron
    Veteran
    Radek
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    Bohdan
    Top achievements
    Rank 2
    Iron
    Iron
    Richard
    Top achievements
    Rank 4
    Bronze
    Bronze
    Iron
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?