Telerik Forums
Kendo UI for jQuery Forum
7 answers
565 views

Can the DropDownList options be set to auto scroll, such that list scrolls when the mouse pointer reached the top of bottom of the container?

I tried autoScroll: true, but that has no effect.

Ivan Danchev
Telerik team
 answered on 11 Dec 2017
3 answers
1.0K+ views
I have a two boxes that were previously input elements and are now inline html editors. Can any other element that are not a 'input' element be added onto the validator's list of things to check. The use is in a list view. Or would the only solution be having some hidden elements?
1.<div class="WebDescriptionEditor" data-bind="value: WebDescription" data-role="editor"
2.   contentEditable="true"
3.   data-tools="['bold','italic','underline','strikethrough']">
4.</div>
Thats basically it. The work around i have otherwise is to include a hidden input element after each of the the divs as so:
1.<input type="hidden" name="WebDescription" data-bind="value: WebDescription" />
Then the custom validation on the datasource iterates through the input elements and validates the above. Any way to skip having the extra html?

Thanks,
Matt
Joana
Telerik team
 answered on 11 Dec 2017
1 answer
498 views

Hi, 

I'm working on collapse/expand functionality that can be applied to all of the grids across our application. I noticed a quirk of one 'expandRow' and 'collapseRow' functions offered with the Kendo grid. These functions can both expand and collapse groupings in the grid; however, the 'expandGroup' and 'collapseGroup' functions work only for groupings, but not for rows.

Do the functions that are group specific offer extra functionality over the row expand and collapse functions that makes the expand and collapse functionality different for groups in some cases? If so, what are these cases so I can know for the future?

 

Thanks,

 

Kevin

Stefan
Telerik team
 answered on 11 Dec 2017
1 answer
141 views

Hi,

is there a way to do batch editing/drag fille of values in a grid.

I checked and see this feature is available in  Kendo Excel component. Could it be provided in the grid as well?

Stefan
Telerik team
 answered on 11 Dec 2017
1 answer
295 views

Hi Guys. i have use the Detail Template to achieve Master Detail Grid.

In order to give a name for the detail grid i have a error thrown by the system that is:-

 

"Uncaught Error: Syntax error, unrecognized expression: #ReassignedDtl_10000/1/12/2017/1"

 

I also find what is the error.  the error is character "/"(slash).

 

but i want to set this name for the detail grid either with slash or without. because it was master grid's ID. it will change for each and every row.

Please help me with that. thanks in advance

Pavlina
Telerik team
 answered on 11 Dec 2017
2 answers
148 views

Dear support

if there is a field: "" in the columns options the column menu will fail (not close or re-show) once shown on any of the other columns.

Please see this http://dojo.telerik.com/oJeqet

/Morten

Morten
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 11 Dec 2017
5 answers
895 views


1. Kendo grid taken time to showing records (When Click button search and display records in Grid).
2 When select row by clicking on Kendo grid row it taken to much time to select row Why?

Stefan
Telerik team
 answered on 11 Dec 2017
2 answers
172 views

When kendodraggable is enabled, the cell value can not be set on the grid

http://dojo.telerik.com/eRaxeQ

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>Kendo UI Snippet</title>
 
 
    <script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
</head>
<body>
<div id="grid"/>
    <script>
     var data = [
    { id: 1, text: "text 1", position: 0 },
    { id: 2, text: "text 2", position: 1 },
    { id: 3, text: "text 3", position: 2 }
]
 
var dataSource = new kendo.data.DataSource({
        data: data,       
        schema: {
            model: {
                id: "id",
                fields: {
                    id: { type: "number" },
                    text: { type: "string" },
                    position: { type: "number" }
                }
            }
        }
    });
 
var grid = $("#grid").kendoGrid({
    dataSource: dataSource,
    sortable: true,
    scrollable: false,   
    editable: true,
    columns: ["id", "text", "position"]           
}).data("kendoGrid");
 
grid.table.kendoDraggable({
    filter: "tbody > tr",
    group: "gridGroup",
    threshold: 10011,
    drag: function(e) {
      $(e.target).closest("tbody").find("tr").css("background-color", "white");
       $(e.target).closest("tr").css("background-color", "red");
    },
    hint: function(e) {
        return $('<div class="k-grid k-widget"><table><tbody><tr>' + e.html() + '</tr></tbody></table></div>');
    }
});
 
    </script>
</body>
</html>
JiaQing
Top achievements
Rank 1
 answered on 11 Dec 2017
6 answers
842 views

I'm trying to add a DropDownList list for grid / filter menu customization per http://demos.telerik.com/aspnet-mvc/grid/filter-menu-customization. If I return a list of strings to the DropDownList list, it works just find. However if I return a list of classes and ​use the DataTextField and DataValueField ​properties, the user has to select the item a second time to get an item to select and when you click Filter you get nothing in the list:

function cityFilter(element) {
    element.kendoDropDownList({
        dataTextField: "Name",
        dataValuefield: "Id",
        dataSource: {
           transport: {
               read: "@Url.Action("FilterMenuCustomization_Cities")"
            }
       },
        optionLabel: "--Select Value--"
    });
}

 I can return strings instead of class instances but it seems that the latter really should work.

 

 

 

function cityFilter(element) {
    element.kendoDropDownList({
        dataSource: {
            transport: {
                read: "@Url.Action("FilterMenuCustomization_Cities")"
            }
        },
        optionLabel: "--Select Value--"
    });
}

function cityFilter(element) {
    element.kendoDropDownList({
        dataSource: {
            transport: {
                read: "@Url.Action("FilterMenuCustomization_Cities")"
            }
        },
        optionLabel: "--Select Value--"
    });
}

Boyan Dimitrov
Telerik team
 answered on 08 Dec 2017
5 answers
469 views

How can I lock one column as the first column of the grid, so it can not be moved/rearranged or hidden?

I tried Frozen columns, but I was able to reorder and hide the "locked" columns.

http://demos.telerik.com/kendo-ui/grid/frozen-columns

 

Thanks

Konstantin Dikov
Telerik team
 answered on 08 Dec 2017
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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
ContextMenu
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
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?