Telerik Forums
Kendo UI for jQuery Forum
0 answers
51 views
I code php with kendoui Grid.
I have function edit <--- work
                        cancle <--- still coding
                        add  <---- doesn't work

add function doesn't work. I get new blank record
I try to solve problem.. and the end
so please...
thank you
golf


ps. my code is in the zip that attach
sunsern
Top achievements
Rank 1
 asked on 18 Sep 2012
0 answers
71 views
Bianca
Top achievements
Rank 1
 asked on 18 Sep 2012
1 answer
100 views
I would like to change the defaultValue of a field in my datasource dynamically, based on user input.

Am I right to presume that currently this is not possible?
David A.
Top achievements
Rank 1
 answered on 17 Sep 2012
2 answers
530 views
Update & Destroy Button is Not Working in Grid.
When I Try :
------------------------------------------------------------
update: {
        url: function (employee) {
            return "api/employees/" + employee.Id
        },
        type: "POST"
    },
destroy: {
        url: function (employee) {
            return "api/employees/" + employee.Id
        },
        type: "DELETE"
    }
-------------------------------------------------
(on FIREFOX )  I got This ERROR >>>   TypeError : g is undefined at kendo.web.min.js : 8

(on Chrome)  I got This ERROR >>>
  1. Uncaught TypeError: Cannot read property 'data' of undefined kendo.web.min.js:8
    1. p.extend.setupkendo.web.min.js:8
    2. p.extend.createkendo.web.min.js:8
    3. o.extend._promisekendo.web.min.js:8
    4. jQuery.extend.Deferredjquery-1.8.0.js:1180
    5. o.extend._promisekendo.web.min.js:8
    6. o.extend._sendkendo.web.min.js:8
    7. o.extend.synckendo.web.min.js:8
    8. h.extend.removeRowkendo.web.min.js:8
    9. h.extend._editablekendo.web.min.js:8
    10. jQuery.event.dispatchjquery-1.8.0.js:3061
    11. jQuery.event.add.elemData.handle.eventHandlejquery-1.8.0.js:2677

What is the Solution? Help Me Please...

Adrian
Top achievements
Rank 1
 answered on 17 Sep 2012
0 answers
83 views
Hi all,

I'm trying to put a input text into the column header in order to enter the value for filtering instead of using the column menu.

Someone know how to do that?

Thanks in advance!

Esteban
Esteban
Top achievements
Rank 1
 asked on 17 Sep 2012
14 answers
200 views
Can this be moved to Mobile > General?

Hello all,

for our application (we are building one with 27 other students) and want to use kendoUI. But where to start? Since it is uploaded today and there is no proper documentation yet.

First try: a android <button> . But what do I do? $('button').kendoButton() ? Or what? I can't find it in the code since it's minimized and all the variables are minimized.

When will the docs be online?

Grtz
Kingsley
Top achievements
Rank 2
 answered on 17 Sep 2012
3 answers
370 views
Clicking the destroy command in my grid will automatically remove the row before regardless of whether or not the server accepts or rejects the transaction. Is there any way around this behavior? In particular, is there a way that I can bind the row removal to the success event for the data source?

Thanks.
Edmond
Top achievements
Rank 1
 answered on 17 Sep 2012
4 answers
486 views
Thanks for the addition of the CheckBoxes.  Here is an easy method to access the value using templates
This is a change to the example code.

1. change the template as follows...
<script id="treeview-checkbox-template" type="text/kendo-ui-template">
<input type="checkbox" name="checkedFiles[#= item.id #]" value="#= item.id #" />
</script>

2. You can access the value as follows...
   function showSerializedData() {
 var chkBox = $("#treeview input")
 var serializedData = chkBox.serialize()
                   .replace(/%5B/g, "[")
                   .replace(/%5D/g, "]")
                   .replace(/&/g, "&");
                 
 //get the value...
 var value = chkBox.val();
 //do something with it
                 
$("#checked-nodes").html(serializedData);
 }
   
In addition, you an auto check the box on node click as follows
function onSelect(e) {
     var checkboxes = $(e.node).find(":checkbox");
     if(checkboxes.length > 0)
          $(checkboxes[0]).prop('checked','checked')
                     
    //HINT: you can get the node text this way as well
    var nodeText =  e.node.outerText;
}


Enjoy.

Bruno
Top achievements
Rank 1
 answered on 17 Sep 2012
0 answers
97 views
I am trying to append an additional field to the AJAX Select response. This field will be used to populate additional information on the web page - it is not bound to the Grid.

I can easily append the field to the AJAX Select response  - but how would I intercept it  on the client-side using Javascript?

I have tried attaching an event listener to onDataBound - but data is always null.


Scott
Top achievements
Rank 1
 asked on 17 Sep 2012
1 answer
621 views
Hi,

I'm using the mobile UI and I have a listView set up to a JSONP URL for the dataSource.

This works great, I can pull to refresh, etc.

However, I want to find a way to alter the URL on a subsequent call and refresh/reload the data via JSONP. Is this possible at all?

For example, I have a data-init="loadList"

function loadList () { ... } # this sets up the kendo.data.Datasource and adds to kendoMobileListView({ ... });

If I call loadList again, it correctly refreshes the display by pulling the data over Ajax but it adds two "Press to load more" buttons at the footer and another "Pull to refresh" widget at the top. It seems to be adding rather than replacing.

Does this make sense? I basically need to alter the dataSource URL and pull again from the server programatically after a user action.
Matt
Top achievements
Rank 1
 answered on 17 Sep 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?