Telerik Forums
Kendo UI for jQuery Forum
5 answers
240 views
Hello,

So I have a json file that looks something like this:
[{
    "Id": "1",
    "People": [{
        "Person": {
            "Name": "Jon"
        },
        "Job": "IT Guy"
    }]
},
{
    "Id": "2",
    "People": [{
        "Person": {
            "Name": "Kate"
        },
        "Job": "Web Developer"
    }]
}]

And data source created form this file
var dataSource = new kendo.data.DataSource({
    transport: {
        read: {
            url: url,
            type: "GET",
            dataType: "jsonp",
            contentType: "application/json; charset=utf-8"
        }
    }
});

 I'm displaying the Id of the arrays on listview A in my application. What I want to do is display a person's name in listview B depending on what Id was selected on listview A.

I've tried several different approaches including trying to create a datasource from the nested "people" array in the json file but have not been successful so far. Can anyone suggest a good method for accomplishing this?

**Edit: I apologize for posting this under the Datasource section instead of the Listview one. If a admin would like to move this post I'd be grateful.
RodEsp
Top achievements
Rank 2
 answered on 12 Jun 2012
3 answers
273 views
Hello Friends,
I have single kendoGrid on my webpage(HTML)  where i have assign remote datasource.It is working fine. Now i want to change that datasource on every onkeydown event of input tag... But the problem is.. when i assign different datasource to same kendoGrid.. it show me old datasource data with new one..... 

Thank You in advance... please help me out
Iliana Dyankova
Telerik team
 answered on 12 Jun 2012
1 answer
122 views
Hi,

I enabled Virtual scrolling for a large data set. Since the server is sending a very large dataset the performance is very low. I would like to do paging at the server end and send only a smaller data set. For this, how can I pass the currentpage data when virtual scrolling is enabled ?

Thanks
Aparna
Alexander Valchev
Telerik team
 answered on 12 Jun 2012
1 answer
94 views
Does this exist? The pager seems to be pretty straight forward, but I don't seem to be "getting it".

I would like to read about the functionality and/or how this widget works, but I cannot seem to find a resource.
Iliana Dyankova
Telerik team
 answered on 12 Jun 2012
2 answers
253 views
Hello,

I have a Grid inside a PanelBar, which displays its data using virtualization of remote data.
The problem is that the grid is filled correctly with the first items from the underlying data source, but there is no chance to scroll down to other items as the scrollbar is disabled (of course there are much more items available).

As soon as I remove the virtual mode from the Grid everything works fine.

There is also no problem with the Grid in virtual mode outside the PanelBar.

Any help would be appreciated.

Bye
Ingmar

charan
Top achievements
Rank 1
 answered on 12 Jun 2012
0 answers
200 views
hi,
I want to display  grid inside the panel bar.i have three headers a,b,c.If i click on the header "c",i want to display the grid dynamically.
i mentioned like:
$("#panelBar").kendoPanelBar({
                                        expandMode: "single",
                                        dataSource: [{ text: "a" },
                                                     { text: "b" },
                                                     { text: "c" }]
                                  });
                                    var Panelbar = $("#panelbar").kendoPanelBar().data("kendoPanelBar");
i want to display grid dynamically inside "c". can u provide some sample code to display the grid inside the panel bar .
durga bhavani
Top achievements
Rank 1
 asked on 12 Jun 2012
2 answers
300 views
I'm using the validator for a web site that needs to be verifiably valid HTML. However, the validationMessage attribute causes a failure in the following:

<input type="text" id="Name" class="k-textbox" required validationmessage="Please enter your name" />

Is there a way to make this control use valid HTML?
Richard
Top achievements
Rank 1
 answered on 12 Jun 2012
1 answer
311 views
I have a JSON object that I get back from a Web Service that is a collection of 8 fields. I only want to show 4 of them in my grid. If I don't put the fields in the columns list then it doesn't show the column headers (as expected) but it still shows the columns. I have tried defining schema / model / fields to see if that would help (basically leaving those columns out), it didn't.

Right now I am using JavaScript to hide the columns but is there a better way to do this? For instance, is there a property which only maps what is defined as a column?

Thanks,
Peter

    // initialize the grid, if it hasn't already been initialized
    if ($("#JobPostingsGrid").html().length < 1) {
        $("#JobPostingsGrid").kendoGrid({
            columns: [
              { field: "OpeningNum", title: "#", width: 80 },
              { field: "Title" },
              { field: "Recruiter" },
              { field: "Location" }],
            height: 600,
            scrollable: true,
            sortable: true,
            dataSource: {
                data: postings,
            },
            rowTemplate: kendo.template($("#JobPostingsRowTemplate").html()),
            selectable: "row"
        });
    }
Peter
Top achievements
Rank 1
 answered on 11 Jun 2012
1 answer
187 views
Hi all,
I am passing an json object from the controller.The json object is string format of a document file.I need to place the content of the doc file in the editor dynamically.
I am passing string object through json .In my schema of the datasource i tried to display using s:{type:"string"}
Here s is the json object.But i am unable to display the content.
Could you please provide me any sample or example on how to place a dynamic content in a editor using datasource.
Thanks & Regards

Alexander Valchev
Telerik team
 answered on 11 Jun 2012
0 answers
132 views
Hi,

I want change then template of day when double click on day.

How can to do ?

thanks!
Vitantonio
Top achievements
Rank 1
 asked on 11 Jun 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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?