Telerik Forums
Kendo UI for jQuery Forum
3 answers
369 views
I want to develop an hybrid mobile app using kendo UI grid to display a resulset from an store procedure on a public SQL Server DB. I need to know which is the best approach and simplest for this. My SP uses two input parameters and returns 4 columns of data. This is for a kind of parcel tracking service. Thank you!
Alexander Valchev
Telerik team
 answered on 30 Jun 2015
1 answer
107 views

I've got a sample in the Dojo that illustrates the issue I'm running into.  I originally ran into this because we are opening the calendar when the control receives focus.  At any rate, when the calendar control is open, if you manually punch in a date and hit "Enter", the calendar control closes but the text value is changed to whatever value was selected in the calendar.  In the example below, simply put the focus in the text box, hit "1/31/2015" and hit "Enter".  The calendar will close, but the text value will be changed to today's date (the default in the calendar).  Any thoughts for a workaround?

http://dojo.telerik.com/eReVa

Kiril Nikolov
Telerik team
 answered on 30 Jun 2015
1 answer
68 views
ok
Dimiter Madjarov
Telerik team
 answered on 30 Jun 2015
2 answers
304 views

Hi,

 I just discovered that even though I have removed the ImageBrowser-option from the settings it is still possible to upload images via drag and drop. I have investigated the documentation and it seems that there's no way to prevent this via settings or via events.

So is there some way else I can disable this option?

Regards,

Peter

Peter Terkildsen
Top achievements
Rank 1
 answered on 30 Jun 2015
3 answers
135 views

Hello, 

I am trying to connect to the shapes using points but not working. Please see the sample below.

http://dojo.telerik.com/@devendra/onudi .

Can you suggest how i can resolve this.

 

Best Regards,

Devendra

Devendra
Top achievements
Rank 1
 answered on 30 Jun 2015
2 answers
386 views
Hi,

Would you please help me to find what reason cause my code only works at the first time after refresh browser?

Thank you very much!
J

The following is my code:-----------------------------------------------
<div >
    <input id="txtName"  data-role="autocomplete"    data-filter="startswith"   data-min-length="1" data-placeholder="Select a Name"  data-text-field="FullName"
           data-bind="value:inputsearchName, source: searchedName, enabled: isEnabled, events: { select: selectPerson, change: onChange}" />
    Name :<span data-bind="text: selectedPerson.LogonName"></span>
</div>
<script>
    var viewModel = kendo.observable({
        searchedName: new kendo.data.DataSource({
            transport: {
                read: {
                    cache: false,
                    url: "@Url.Action("GetNames")",
                    dataType: "json",
                    contentType: "application/json; charset=utf-8",
                    type: "Get",
                }
                , parameterMap: function (options, operation) {
                    if (operation === "read") {
                        return {
                            startsWith: $("#txtName").data("kendoAutoComplete").value()
                        };
                    }
                }
            },
        }),
        selectedPerson: {},
        suggest: true,
        selectPerson: function (e) {
            var item = e.sender.dataItem(e.item.index());
            viewModel.set("selectedPerson", item);
        }
    });
    kendo.bind($(document.body), viewModel);
</script> 
C#-MVC Controller Code:----------------
public JsonResult GetNames(string startsWith)
        {
            List<AutoCompletionGroup> employeeList;
            employeeList = Employee.GetEmployeesByCriteria(startsWith);
            return Json(employeeList, JsonRequestBehavior.AllowGet);
        }


Dave
Top achievements
Rank 1
 answered on 29 Jun 2015
2 answers
102 views

I came to the demo site today to look into charting objects and in Chrome the styling of the demos seems pretty messed up.  I have just made sure I have the latest Chrome (Ubuntu) Version 43.0.2357.130 (64-bit).  See the attached images.  It's fine in Firefox.

The main client area is empty and the content is forced down below.  Scrolling the content rolls it up behind the nav bar and main client area.

Lisa
Top achievements
Rank 1
 answered on 29 Jun 2015
2 answers
125 views

How can I attach a javascript function to the keypress event of a hierarchy grid (the details grids).

 

I want to achieve this functionality 

http://www.telerik.com/forums/skip-read-only-fields-when-using-keyboard-navigation-on-navigatable-grid-in-batch-edit-mode

in the detail section.

 

Jason

Daniel
Telerik team
 answered on 29 Jun 2015
1 answer
6.0K+ views

I'm displaying data in two different formats (grid with details and on a map based on location).  I'm trying to make it so when you click on an object on the map then the corresponding row in the grid will get selected.  I'm able to get the data of the object to use when clicking on it on the map, but I'm having trouble using it to select the row in the grid.

Here's the grid creation:

$("#grid").kendoGrid({
                dataSource: {
                    data: myData
                },
                height: 400,
                filterable: true,
                sortable: true,
                resizable: true,
                pageable: false,
                selectable: true,
                schema: {
                    model: {
                        id: "MyId"
                    }
                },
                columns: [
                    {
                        field: "MyId",
                        hidden:true
                    },
                    {
                        field: "Name",
                        title: "Name",
                        filterable: false, width: 100
                    },
                    {
                        field: "Foo",
                        title: "Foo", width: 160
                    },
                    {
                        field: "Bar",
                        title: "Bar", width: 110
                    }
                ]
            });

 And here's the shapeClick event for the map:

var el = $("#grid"),
    grid = el.data("kendoGrid"),
    row = el.find("tbody>tr[data-id="+e.shape.dataItem.MyId+"]");
grid.select(row);

 

Using alerts I'm able to verify that I've got MyId correctly, and el, grid, and row are all objects, so I would assume it's getting the right things, but it's not selecting the row on the grid like it should be.

Anyone have any ideas?

 

 

 

 

Vladimir Iliev
Telerik team
 answered on 29 Jun 2015
1 answer
382 views

Hi,

I'm currently trying out the Kendo UI and I have a question regarding grid editing. In webforms you have a edit mode called editform, meaning you get a form with editors just below the row like this:

http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx 

Given that you can also include hidden columns in the editform this is IMO by far the best UX for grid editing. Popup will confuse the user slightly as they lose track of which row they are editing, and with inline editors you will only be able to edit visible columns.

So my question is this: Is it possible to somehow use editform for the Kendo grid? I know, anything is possible, but how can this be done? I'd love Telerik to add this feature as a standard edit mode, but if not can it be done through custom templates somehow?

Konstantin Dikov
Telerik team
 answered on 29 Jun 2015
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?