Telerik Forums
Kendo UI for jQuery Forum
0 answers
49 views
I have scenario where kendo grid model is getting updated while doing inline row edit. In our case i am getting some validations from services & i need to show them in UI. But what is happening the model is getting updated not the data base.
Is there any way to prevent/revert kendo grid data model from getting updated.
Deepak
Top achievements
Rank 1
 asked on 08 Oct 2012
0 answers
138 views
Hi

I have three combo boxes (department, category and sub category), see attached jsfiddle example: http://jsfiddle.net/cFLQr/1/

When I select the second combobox (category) the change event is fired but, for some reason, if I then click then third combobox immediately (without any other interaction on the page) I get an error of "Cannot read property 'value' of undefined".

If however I do things slightly differently and select the second combobox (category) then make a click elsewhere on the page, the event is fired twice (once on change and once on click elsewhere on page). The second change event stops the above error and passes the correct information.

Please can you help me to understand why there is a second change event on clicking elsewhere on the page and also why the first change event doesn't do the job of the second change event. :-/

Thank you very much
Rich
Rich
Top achievements
Rank 1
 asked on 08 Oct 2012
2 answers
230 views
My charts are filled and updated with data from DataSource. How can I make this with a Gauge object?
Renju Panicker
Top achievements
Rank 1
 answered on 08 Oct 2012
3 answers
1.4K+ views
I have a grid with custom commands to view an order's details. When clicking on the button I want to launch a Kendo Window and add the order's id into the url of the content. Is this possible?

var wnd = $("#window").kendoWindow({
title: "Order Details",
modal: true,
visible: false,
resizable: false,
width: 400
}).data("kendoWindow");

function showOrder(e) {
e.preventDefault();
var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
var url = '<%= ResolveUrl("~/MyOrder.aspx?orderId=") %>' + dataItem.Id;
wnd.content(url);
wnd.center().open();
}


Nohinn
Top achievements
Rank 1
 answered on 08 Oct 2012
1 answer
79 views
Looking at 2012 Q3 Roadmap, I noticed that you have scheduled Accessibility and RTL support. That's great news!
Just wondering when is Q3 due date and what's it's status right now.

Thanks in advance.

Alex Gyoshev
Telerik team
 answered on 08 Oct 2012
0 answers
66 views

Hi,

I am trying to implement Grid Ajax but when I click on page 2 the grid is set to 1st page.

following is the view:

@(Html.Kendo().Grid(Model).Name("baseUserInfoGrid")
.Columns(columns => {
columns.Bound(m => m.User_Id);
columns.Bound(m => m.Name);
columns.Bound(m => m.Email);
}).Pageable().Groupable().Sortable()
.DataSource(a => {
a.Server().Read("Index", "Admin");
a.Ajax().Read("_Index", "Admin"); })
)

and Actions: 

public ActionResult Index()
{
return View(GetBaseUserInfo());
}

[GridAction]
public ActionResult _Index()
{
return View(GetBaseUserInfo());
}

am I missing something?

Regards,

Yeou

Yeou
Top achievements
Rank 1
 asked on 08 Oct 2012
1 answer
125 views
Is there a featurre in kendo charts like logarithmic scale ???
Regards,
Neil
Hristo Germanov
Telerik team
 answered on 08 Oct 2012
1 answer
81 views
In the CategoryAxis Documentation is says: 

categoryAxis.type: "Date".max Number
The last date displayed on the axis. By default, the minimum date is the same as the last category. This is often used in combination with the min configuration option to set up a fixed date range.

But as I illustrate in this jsFiddle, I believe that should actually be a JavaScript Date Object. Anyone agree?
Hristo Germanov
Telerik team
 answered on 08 Oct 2012
1 answer
105 views
We can create DropDownLists by class:
        $(".theClassName").kendoDropDownList({});

And we can reference them by id to apply methods:

     var list = $("#theID").data("kendoDropDownList");
    list.select(0);
    list.refresh();

But it doesn't seem we can reference all lists by classname:

    var allLists = $(".theClassName").data("kendoDropDownList");

allLists is undefined.  Is there a way to apply a method to all dropdownlists of the same class?
Heather
Top achievements
Rank 1
 answered on 08 Oct 2012
4 answers
1.3K+ views
I've got several dataSources on a page. I want one of the dataSources to read on page load, while the others should only read when I tell them to:

var aDataSource = new kendo.data.DataSource({yaddayaddayadda});
var bDataSource = new kendo.data.DataSource({yaddayaddayadda});
var cDataSource = new kendo.data.DataSource({yaddayaddayadda});
 
function readDataSources() {
bDataSource.read();
cDataSource.read();
};
  
$(document).ready(function () {
    $("#aGrid").kendoGrid({
        dataSource: aDataSource,
        autobind: true
    });
    $("#bGrid").kendoGrid({
        dataSource: bDataSource,
        autobind: false
    });
    $("#cGrid").kendoGrid({
        dataSource: cDataSource,
        autobind: false
    });
})

When the page loads all dataSources read. What am I doing wrong?
Kwex
Top achievements
Rank 1
 answered on 07 Oct 2012
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
Drawing API
Drawer (Mobile)
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
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
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
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?