Telerik Forums
Kendo UI for jQuery Forum
0 answers
117 views
hi,
I have a panel bar and grid.I want to display grid inside the panel bar.I loaded the panel bar using ajax.I created the grid in a separate view.I have loaded the grid inside the panel bar using "contentUrl".it is displaying in side the panel bar but the grid is displaying two times as shown in the following attachment. can u tell me what is the reason for displaying the grid multiple times.
charan
Top achievements
Rank 1
 asked on 01 Jul 2012
3 answers
170 views
Hi
We are using a Kendogrid with filtering options, which should be internationalized.
I refer to the popup window with the text "Show rows with value that". Also the operators and the "Filter" and "Clear" text on the buttons
should be internationalized.
Is it possible to do this with  kendo cultures? Or could I make a template for the popup, which would take this into account?

Best Regards
Thomas
Jean-Yves
Top achievements
Rank 1
 answered on 01 Jul 2012
1 answer
380 views
Seems like a dumb question but I can't figure out how to set focus.  I tried:

$("#controlName").data("kendoAutoComplete").input.focus();

the above works for a dropdown but not autocomplete, input appears to be undefined.  How do I manually set focus on a kendoAutoComplete?
Mark
Top achievements
Rank 1
 answered on 30 Jun 2012
0 answers
128 views
I am loading a panel by AJAX call
I tried to cancel the select event by calling
 e.preventDefault();
I got a stack overflow

[UPDATE]
I figured out that I got this error because my underlying ajax url was null.!!!
However, I can't prevent the panel from being opened even I cancelled the event
nachid
Top achievements
Rank 1
 asked on 30 Jun 2012
0 answers
215 views
I have a set of divs that I hide and only show one at a time according to a menu item.
The initial div has a bound kendo control inside it.
I use jquerys .hide() method to hide the div with the kendo grid inside it.
I DO NOT call .hide() on the grid, just its parent div.

Later on when I call .show() method the div shows up including other normal text inside the div shows up but not the kendo grid??

Once a kendo grid has its parent div hidden how do I make it appear again?

Is this a bug?
Joshua
Top achievements
Rank 1
 asked on 30 Jun 2012
0 answers
139 views
Hi Team,

We have requirement to pass the different data based on the date selection, for that we are using the following two files to search in json file and parsing the data. 

 json.js ( https://github.com/douglascrockford/JSON-js/blob/master/json.js)
 jsonxpath.js(http://goessner.net/articles/JsonPath/)

When we use json.js we are getting "f.createElement is not a function" error and chart is not created.
 If we remove json.js  chart works fine.

we are in tight schedule , Kindly do let me know what's need to done to make it work,

Thanks
Moovendan

Moovendan
Top achievements
Rank 1
 asked on 30 Jun 2012
1 answer
571 views
Is it possible to change the width of the drop down. Right now I have a text box that is about 100 pixels wide. The drop down that slides down is exactly the same size. However, the autocomplete results come back with both a code and a description. Each item in the drop down is wrapped across 2 to 3 lines. I would prefer to have each item to fit on one line (roughly 300 pixels wide). I adjusted the template to ensure each item had a width of 300 pixels, but all that did was put a horizontal scroll bar in the drop down.

I suspect it is not possible out of the box since there isn't any documentation on doing so. It also appears that the drop down is wrapped in a div that had its width set through JavaScript. Nonetheless, has anyone successfully implemented this?
Cyndie
Top achievements
Rank 1
 answered on 29 Jun 2012
2 answers
162 views
I have a view-model with a property called fields that is attached to my datasource's view, which will have some data similar to this:

[{
    Id: 1,
    Name: 'Email',
    Type: 'Email',
    Default: '',
    Display: true,
    Identifier: true
}, {
    Id: 2,
    Name: 'First name',
    Type: 'Text',
    Default: 'Fistname',
    Display: true,
    Identifier: false
}, {
    Id: 3,
    Name: 'Last name',
    Type: 'Text',
    Default: 'Lastname',
    Display: true,
    Identifier: false
}, {
    Id: 4,
    Name: 'City',
    Type: 'Text',
    Default: '',
    Display: true,
    Identifier: false
}]

I'm using the following row-template to make a sort of grid with a column that has an edit button in it. 

<script id="row-template" type="text/x-kendo-template">
    <tr data-uid="#= Id #">
        <td align="center">
            <a href="javascript:void(0);" data-bind="click: edit" class="editRow">edit</a>
        </td>
        <td data-bind="text: Name"></td>
        <td data-bind="text: Type"></td>
        <td data-bind="text: Default"></td>
        <td align="center"><input type="checkbox" data-bind="checked: Display" /></td>
        <td align="center"><input type="checkbox" data-bind="checked: Identifier" /></td>
    </tr>
</script>

This all works great until the click event (edit function in view-model) is called. While I am inside the edit function I can not use the get or set functions to work with the data unless I state the index of the entry from the view-model I want to edit. 

edit: function(e){
    this.set('fields[' + (e.data.Id -1) +'].Default', 'Clicked');
}

This will only works as long as the Ids in my data start at 1 and are always sequential, which is not very likely. You can see this here (http://jsfiddle.net/garrett55/aYMRn/) in the fiddle I created for this post.

Am I missing the right way to do this? Is there an easier way to get the index of the data I want in the view-model?
Garrett
Top achievements
Rank 2
 answered on 29 Jun 2012
0 answers
126 views

Hi,

Currently in KendoUI for MVC, one can load the columns for a KendoGrid by writing this in the view,

@(Html.Kendo().Grid<Object>(
   
.Name("Some name")
   
.Columns(columns =>
   
{
        columns
.LoadSettings((IEnumerable<GridColumnSettings>)ViewData["Columns"]);
   
})
   
// ...
)

where ViewData["columns"] has been set in the controller.

I'm wondering if there is some similar way of loading several series for a KendoChart. I know I could probably accomplish this using javascript and an AJAX call, but I would rather use Razor for as much as I can, and I would like to avoid making too many server calls.

Thanks!

Alex
Top achievements
Rank 1
 asked on 29 Jun 2012
1 answer
88 views
Good afternoon
In kendo grid virtualization works with groups?

When I make the scroll and this enabled the virtualization and I have a group, are made many calls to the server, a call is in infinite

Please can you help me with this issue

thanks
Iliana Dyankova
Telerik team
 answered on 29 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
Application
Map
Drag and Drop
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?