Telerik Forums
Kendo UI for jQuery Forum
1 answer
134 views
I'm trying to have multiple value axes with CategoryAxis date type. See the following jsFiddle, and how the dates are not labeled on the x-axis: http://jsfiddle.net/gavinr/Q6ust/


Is this an issue with Kendo or am I doing something wrong?
Iliana Dyankova
Telerik team
 answered on 09 Oct 2012
0 answers
160 views
Hi,

I am using kendoui checkbox template treeview. When i am selecting the child node i am able to get the 
id of that child. Then how can i get the id of that parent and how can i delete the selected child node with that id.

Please provide me an example or sample

Thanks and Regards
Srinivas
srinivas
Top achievements
Rank 1
 asked on 09 Oct 2012
4 answers
360 views
Hi,

I am using kendo grid with paging.In my grid i have checkbox for selecting the grid row.
when i am using paging when I select a row in page 1 and after if go to page 3 and select a row and save the data to database.
The problem is when I select the page 3 row the page 1 row which is selected is not saved.
Even if I change the grid page to 1 the selected row is deselected automatically.
Is there any solution to solve the problem.

please help...

Regards,
Sam.
Sameer
Top achievements
Rank 1
 answered on 09 Oct 2012
4 answers
1.4K+ views
According to the documentation, the 'remove' event is called before a row is actually removed from a grid. I would however like to know once a row has been removed from the grid. Is this possible?

I have a hidden input that keeps the ids in a hidden input field, so that nothing gets modified until the user hits submit. I would like a way to update the input once the row has been removed (because the remove event fires BEFORE the row has been removed, I cannot trigger based on it).

Any suggestions?
Alexander Valchev
Telerik team
 answered on 09 Oct 2012
3 answers
299 views
Hi,
How can I make kendo donut chart element dynamically explode on mouse  hover?
A
Top achievements
Rank 1
 answered on 09 Oct 2012
1 answer
245 views
hello,
i'am a newbie with kendoui and i like it so i have a problem with the defaultvalue when i add a new record.
i have two listview with new record button,  the second depends on the first.
When i select one item on the first listview , i filter  the second listview  like :

dataSourceEnseigne.filter({ field: "idSociete", operator: "eq", value: selected[0]});

this work fine but when click on the add button i have some problem:
$("#addEnseigne").click(function(e) { listViewEnseigne.add(); e.preventDefault(); });

I don't no how to reset the value defaultvalue dynamically

the symptom is :
if no record displayed ==> add operation fail
if one or more record displayed ==> add operation display edit template with value of the first item displayed (like edit function).

after more tests i see that  defaultvalue of field must be set to the filter value for this work fine.

What's the method ?
i try :
var data = dataSource1.view(),
      selected = $.map(this.select(), function(item) { return data[$(item).index()].idSociete; }); combosocietes.value(selected[0]);
dataSourceEnseigne.filter({ field: "idSociete", operator: "eq", value: selected[0]});                                                                          dataSourceEnseigne.options.schema.model.fields.idSociete.defaultValue=selected[0];(don't work)
 listViewEnseigne.dataSource.options.schema.model.fields.idSociete.defaultValue=selected[0]; (don't work)

can anyone help me
Thank's for your reply
Phil

Phil
Top achievements
Rank 1
 answered on 09 Oct 2012
0 answers
157 views
Hi, is it possible to disable individual option(s) in the kendoComboBox, in a similar way that a regular html selector uses:

<option value="" disabled="disabled">Select option:</option>

I'm not looking to disable the entire comboBox, just specific options. Thanks.
Terry82
Top achievements
Rank 1
 asked on 09 Oct 2012
0 answers
131 views
I downloaded and modified the KendoGridWebAPI sample project and modified the grid to have popup editing rather than batch in line.

The api controller (ValuesController) was designed to handle collections for the update and delete operations and so I regenerated a standard api controller against the Product entity to manage updates and deletes for a single Product

The update (PUT) no longer worked complaining of a null "id" parameter ...
public HttpResponseMessage PutProduct(int id, Product product)

After changing the function to ...
public HttpResponseMessage PutProduct(Product product)

and the parameterMap from ...
parameterMap: function (data, operation) {
                        if (operation != "read") {
                            return kendo.stringify(data.models);
                        }
                    }

to ...

parameterMap: function (data, operation) {
                        if (operation != "read") {
                            return kendo.stringify(data.models[0]);
                        }
                    }

things began to work as expected.

This doesn't really follow REST protocol but how do you do a standard REST update with the ID on the path?

update: {
    url: "api/values/5",
    type: "PUT",
    contentType: 'application/json;charset=utf-8' 
},

and what should the parameterMap look like?

Darryl
Top achievements
Rank 1
 asked on 09 Oct 2012
2 answers
600 views
Hello,

I am new to Kendo and MVC 3, I want to show the horizontal scroll bar to Kendo Grid, when my columns are binded thru autogenerate. Currently the scroll bar appears at the bottom of the screen for the whole page. but I wont only for the grid. could anyone suggest how to do that ?

Thanks in advance.

Regards,
Ravi. 
Ravi
Top achievements
Rank 1
 answered on 09 Oct 2012
3 answers
361 views
Hey,

Sorry for another dropdown post that seems so much like the others, but I have spent hours trying to get this to work and for some reason it won't. All I am trying to do is have a dropdown for State and City. On open the State list will be retrieved. Then when a State is selected, the City list will be retrieved. 

What I am seeing:
When I select the State, the City request will be made, it returns, and the City data source IS populated. But when I click on the City drop down list, it is not responsive. I try and click on it, but it doesn't respond at all!

I've been screwing around with the code so much that I'm probably missing something, but any help at all would be greatly appreciated.

I also just downloaded the newest Kendo code.
Kendo: 2012.1.322
jquery-1.7.1.min.js
Chrome: 17.0.963.83

var dsStates,
        dsCities
        ;
 
    $("#app").show();
 
    getStates();
     
    // wire up list view to available dbconn objects
    function getStates() {
        dsStates = new kendo.data.DataSource({
            transport: {
                read: {
                    url: "/infoburst/rest/exec/xdcqry/165?q=States",
                    data: {
                        json: "true"
                    },
                    beforeSend: function(req) {
                        // use IBE SessionManager "auth"
                        req.setRequestHeader('Authorization', sm.auth());
                    }
                }
            },
            error: function(e) {
                log("getStates error : " + e);
            }
        });
        dsStates.read();
    }
 
    function getCities(state) {
        dsCities = new kendo.data.DataSource({
            transport: {
                read: {
                    url: "/infoburst/rest/exec/xdcqry/165?q=Cities&State=" + "Arizona",//state,
                    data: {
                        json: "true"
                    },
                    beforeSend: function(req) {
                        // use IBE SessionManager "auth"
                        req.setRequestHeader('Authorization', sm.auth());
                    }
                }
            },
            change: function(e) {
                log("get cities info OK");
            },
            error: function(e) {
                log("getCities error : " + e);
            }
        });
        dsCities.read();
    }
 
    $("#states").kendoDropDownList({
        optionLabel: "Select State...",
        dataTextField: "State",
        dataValueField: "State",
        dataSource: dsStates,
        change: function() {
            var value = this.value();
 
            if (value) {
                getCities(value);
                $("#cities").data("kendoDropDownList").enable();
            } else {
                $("#cities").data("kendoDropDownList").enable(false);
            }
        }
    });
 
     $("#cities").kendoDropDownList({
        autoBind: false,
        optionLabel: "Select City...",
        dataTextField: "City",
        dataValueField: "City",
        dataSource: dsCities,
        change: function() {
            var value = this.value();
        },
        error: function(e) {
            log("getCities error : " + e);
        }
    });
Karel
Top achievements
Rank 1
 answered on 08 Oct 2012
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
Drag and Drop
Application
Map
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?