Telerik Forums
Kendo UI for jQuery Forum
2 answers
191 views
I trying to get autocomplete working with an ODS data service we developed locally.  I have the Netflix example working fine, but when I plug in my odata service instead it doesn't work.

I've attached the data that my service returns.  As far as I can tell the format is the same as the Netflix sample. The DataServiceProtocolVersion is being set to V2.

Here is my js code:

    $("#input").kendoAutoComplete({
        minLength: 3,
        dataTextField: "STRATEGY_NM",
        dataSource: {
            type: "odata",
            serverFiltering: true,
            serverPaging: true,
            pageSize: 20,
            transport: {
                read: "http://localhost:53673/MyoData.svc/STRATEGIES"
            }
        }
    });
Sovan
Top achievements
Rank 1
 answered on 19 Jan 2012
0 answers
125 views
Hi,
 Can u provide sample application to bind dropdown uisng sqlserver.

Regards
Reddy
Raveendra
Top achievements
Rank 1
 asked on 19 Jan 2012
1 answer
152 views
Hi

I have a tabstrip, and load the tabs with ajax by means of the contentUrls setting.
One of those tabs is pretty much (for now) just a single div (that will later become a grid) and the javascript to load it. For reference, here's what's being loaded:

<div id="contactsList">
</div>
<script src="@Url.Content("~/Scripts/Contact.List.js")" type="text/javascript">
</script>

I see that the script is being downloaded but it does not execute. Is there something else that I need to do to make this work? Can this be done at all?

Thanks a lot.
Andrés
Top achievements
Rank 1
 answered on 19 Jan 2012
7 answers
548 views
Hi!
I want to edit several grid cell's, but i want to save in the remote database that change, when the edited cell lose it's focus.

Anyone has already faced the same problem?
underscore
Top achievements
Rank 1
 answered on 18 Jan 2012
7 answers
379 views
Hi,

My svc request returns:

{"GetRolesResult":{"Roles":{"RowKey":"bf7198e099db4f3eaf62d9f1acd97b69","copy_":false,"delete_":false,"move_":false,"name":"nyrolle","publish_":false,"read_":false,"rename_":false,"write_":false},{"RowKey":"dcbaa08781064d7384558b4049ab6ec9","copy_":false,"delete_":false,"move_":false,"name":"tjekket","publish_":false,"read_":false,"rename_":false,"write_":false},{"RowKey":"fc9be01218c84f219fb72c204bb8ad6a","copy_":false,"delete_":false,"move_":false,"name":"suppe","publish_":false,"read_":false,"rename_":false,"write_":false}]}}

I have tried, inside the schema section, to set:

data: 'GetRolesResult.Roles',

But the grid does still not show any rows at all.

How do I tell the grid where to look for data, inside, the json response? 


Hessner
Top achievements
Rank 2
 answered on 18 Jan 2012
3 answers
290 views
Hi!

I need to separate the datasource for my grid in a separate user updatable data file, called "datasource.js". 

I have placed the call to the src in the head and it fails totally in Komodo Edit. When I place the src call in the body, it works in Komodo, but not in the browsers (Opera and Chrome).

The data file looks like this:
var data = [{"picture": "EnviroPopulation99.png","TaxiName": "Andrew's Taxis","TaxiPhone": "01239 289617"},
{"picture": "Island Biogeography 99.png","TaxiName": "AllStar Taxis","TaxiPhone": "01249 241521"},
{"picture": "MarkandRecapture99.png","TaxiName": "TaxiCars","TaxiPhone": "01249 275141"},
{"picture": "Population Viability Analysis99.png","TaxiName": "01TaxiCabs", "TaxiPhone": "01249 275987"}];
var testdata = "Hello data!";

The code html file has the standard grid code calling data: data;

The test variable at the bottom of the file works fine.

Is there any reason why a data variable called from an external .js file using <script> would fail, please?

All the best,

Andrew.
John DeVight
Top achievements
Rank 1
 answered on 18 Jan 2012
2 answers
162 views
If I instantiate a DropDownList (or a ComboBox, for that matter) based on a select tag where one of the options is selected, then select an option without a value, as shown in this jsFiddle, the select element's value does not change.  The net effect is that when the form is submitted, the browser does not post the empty value.

Lyndsy Simon
Top achievements
Rank 2
 answered on 18 Jan 2012
8 answers
1.0K+ views
Hey guys,

having fun with kendo and jquery, learning and stuff.

i tried pulling up a html form within tab strips, and quickly found they dont work, or at least not to me.
is it possible to make this work, or would it be asking too much.

thanks in advanced

Kamen Bundev
Telerik team
 answered on 18 Jan 2012
3 answers
1.0K+ views
I am using a grid with some local data, but I want to use some simple html before and after one of the fields in a column.  I'm actually doing it in the PHP code before it even gets into the array "data_source".  

I just want html to parse inside the grid basically.

$(document).ready(function() {
     $("#grid").kendoGrid({
         dataSource: {
             data: booking_data,
             schema: {
                 model: {
                     fields: {
                         invoice_id: { type: "number" },
                         invoice_date: { type: "string" },
                         invoice_name: { type: "string" },
                         invoice_price: { type: "number" },
                         invoice_status: { type: "string" }
                     }
                 }
             },
             pageSize: 15
         },
         scrollable: true,
         sortable: true,
         filterable: true,
         pageable: true,
         columns: [
             {
                 field: "invoice_id",
                 title: "Invoice ID"
             },
             {
                 field: "invoice_date",
                 title: "Invoice Date"
             },
             {
                 field: "invoice_name",
                 title: "Customer Name"
             },
             {
                 field: "invoice_price",
                 title: "Invoice Price"
             },
             {
                 field: "invoice_status",
                 title: "Invoice Status"
             }
         ]
     });
 });
John DeVight
Top achievements
Rank 1
 answered on 18 Jan 2012
0 answers
106 views
I am planning of using rest service as my datasource.
Will give me an example of how i can do that.
Thanks,
Edmund
Top achievements
Rank 1
 asked on 18 Jan 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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?