Telerik Forums
Kendo UI for jQuery Forum
1 answer
1.0K+ views
It appears that when you call options.success within the success callback of the Data Source Update, it will reset the grid scollbar to the top.  For example, if I scroll down several records and edit a record, the scrollbar will jump back to the top rather than staying where it was.  Is there a way to keep the scrollbar from jumping back to the top?

success: function(result) {
    // notify the data source that the request succeeded
    options.success(result);
}

Thanks,
Blake
Rosen
Telerik team
 answered on 09 Dec 2013
4 answers
296 views
I  think the title says it all.  No HeaderTemplate shows up in the resulting web page. I also searched the browser debug window to make sure it wasn't just hidden but there. It's not rendered at all:

@(Html.Kendo().DropDownList()
   .Name("CompanyId")
   .DataValueField("Id")
   .DataTextField("Name")
   .BindTo(Model.CompanyList)
   .HtmlAttributes(new { style = "width: 200px; z-index: 10004;" })
   .Height(300)
   .OptionLabel("Select a company")
   .Events(e => e.DataBound("dataBound"))
   .HeaderTemplate("<div>FOO BAR</div>")
   .Template("<span class=\"k-state-default\">" +
                          "<h5 style=\"display: inline-block; width: 190px\">#: data.Name #</h5>&nbsp;&nbsp;" +
                          "<p style=\"display: inline-block; width: 100px\">#if(data.ContactName) {# #=data.ContactName# # } else {# #}#</p>&nbsp;&nbsp;" +
                          "<p style=\"display: inline-block; width: 100px\">#if(data.PhoneFormatted) {# #=data.PhoneFormatted# # } else {# #}#</p>" +
                       "</span>"
   )
)
Georgi Krustev
Telerik team
 answered on 09 Dec 2013
1 answer
110 views
Hi

I'm working in a large corporate and I'm interesting in new web frameworks for our web applications.
I really impressed from Kendo UI web components .
I couldn't find out if following capabilities embedded in Kendo UI components:
If you do, I would like to get references to articles and examples for those capabilities:

1. Out of the box Localization for all components.
2. Supporting roles (hide / show or disable / enable components based on users' roles.
3. Accessibility 

* I prefer to work with the HTML / JavaScript/ Client side package, but if the JSP tag library support those feature I also like to know about it.

Thanks in advance
Alexander Valchev
Telerik team
 answered on 09 Dec 2013
3 answers
282 views
can anyone give an example?  
Can user select a rectangle area with mouse, and then kendo chart zoom into the area?
Jianxun
Top achievements
Rank 1
 answered on 09 Dec 2013
5 answers
271 views
I'm trying to achieve essentially a drill-down menu within the drawer that behaves just like the Kendo splitview demo.  http://demos.kendoui.com/mobile/splitview/index.html#/

I have a top level list that when clicked should show a next level of items, and then finally when the last level item is clicked I want to load content in the main view.  Rather than having the menu in a pane of the splitview I want to use the drawer to have it slide out and let the user drill down in the drawer until the final item is clicked.  Perhaps simply being able to prevent the drawer from closing would suffice.
Petyo
Telerik team
 answered on 09 Dec 2013
1 answer
200 views
Hi,

When ever there is a empty string value in dropdown list, it is not appearing in the dropdown list. Please see the screen shot below ( the blue color line is the empty string item)... it is not shown properly

Thanks,
Shobana
Dimiter Madjarov
Telerik team
 answered on 09 Dec 2013
1 answer
219 views
Hello again,
how can i select a grid row,based on the value or the text of a dropdownlist?

first of all,i looked over the demo api on kendo site, and the code
@{
    ViewBag.Title = "GridApi";
}

<h2>GridApi</h2>
<div id="grid"></div>
<script>
    $("#grid").kendoGrid({
        columns: [
    { field: "name" },
    { field: "age" }
  ],
        dataSource: [
    { name: "Jane Doe", age: 30 },
    { name: "John Doe", age: 33 },
  ]
    });
    var grid = $("#grid").data("kendoGrid");
    var row = grid.tbody.find("tr:eq(0)"); OR variant 2: var rowIndex=1;row = grid.tbody.find(">tr:not(.k-grouping-row)").eq(rowIndex);
    var data = grid.dataItem(row);
    grid.select(row);
    console.log(data.name); // displays "Jane Doe"
</script>

i attached a picture with the error in firebug.
Dimiter Madjarov
Telerik team
 answered on 09 Dec 2013
1 answer
125 views
I’m
trying to set a common value in the “Message” parameter of the “IsEqualTo” property in a kendo grid. My project is
Multilanguage, so, when I select a language different than “English”, the shown
message is different than “Es igual a”. What should I do to fix that? This is
the piece of code:

        .Filterable(filterable => filterable

        .Extra(false)

         .Operators(operators => operators

            .ForString(str => str.Clear()              

               .IsEqualTo("Es igual a")

            ))
Dimiter Madjarov
Telerik team
 answered on 09 Dec 2013
4 answers
127 views
Hi,

I have created a plain new ASP.NET Webforms solution with just the jQuery and Kendo files added.
(Visual Studio 2013, Windows 8, jQuery v2.0.3, Kendo UI Complete v2013.2.918

When I put several Kendo drop down lists on a page I realize that tabbing between the dropdownlists is not working.

Then I have added all the js and style files from your demo solution and copied the drop down list Basic demo page (cap ordering). Tabbing still doesn't work.

Why is it working in your demo page but not in my Solutions? What is the trick?


Thanks for your help!
Alexander Valchev
Telerik team
 answered on 09 Dec 2013
1 answer
88 views
Hi 

I have an issue with the Kendo Treeview with checkboxes while refreshing it with the data having its children unchecked (with property isChecked in JSON for treeview as false)

Please find the working example in the JSFiddle link -  http://jsfiddle.net/YdmJE/29/


Regard
Arun
Alex Gyoshev
Telerik team
 answered on 09 Dec 2013
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
Licensing
ScrollView
Switch
TextArea
BulletChart
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
TimePicker
FloatingActionButton
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
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?