Telerik Forums
Kendo UI for jQuery Forum
4 answers
405 views
I have found that if you put a paginated grid with auto height in the panelbar, when you change pages and the grid height changes, the panelbar doesn't keep up with the grid size changes. I suppose I could maybe detect when the grid page changes and somehow refresh the panel its in to fit maybe?
Chris
Top achievements
Rank 1
 answered on 25 Sep 2012
0 answers
166 views

<div>
<form name="form" >
<input type="text" name="msg" value="Your message"/>
<input id="btnsumbit" type="submit" />
</form>
</div>
<div>
<iframe id="guestFrame1" name="guestFrame1" width="500px" height="150px" frameborder="1"   src="http://localhost/kendosample " >
</
iframe>
</div>
<script>
var win = document.getElementById("guestFrame1").contentWindow           
document.forms.form.onsubmit = function ()
{
win.postMessage(this.elements.msg.value, "*")
return false
}
</script>
Please let me know, how to apply the above same logic in kendo window

Prakash
Top achievements
Rank 1
 asked on 25 Sep 2012
0 answers
97 views
Hallo,

have i the chance to set the Field Name of a Grid.Column at runtime? 
Like this:

$("#grid").kendoGrid
   ({
    dataSource:
    {....
        columns:
        [{
            field:"ReadData.php?DataToRead=LastName"
            width: 90
        }]
    }
})

Howard
Howard
Top achievements
Rank 1
 asked on 25 Sep 2012
1 answer
582 views
I'm asking this question again after spending additional hours trying to get this to work without success.   I have a Grid using Ajax binding to display a dropdown list of items in a grid from a collection in the model.    The items are on the server in a List<SomeItems> collection.      This list is not in the model the grid itself is bound to - it is coming from a separate source.    I'm really tired of mucking around with something that is very easy to do in every other tool kit I've ever used.   

My code currently looks like this.   I get no drop down list in my grid at all.  I get an edit box.
@(Html.Kendo().Grid<Models.AutomationDevicePartsMapping>()
       .Name("GridAutomationDevicePartsMapping")
       .Columns(columns =>
                    {
                        columns.Bound(p => p.QuantityMultiplier).Title("Quantity");
                        columns.Bound(s => s.PartNumberName)
                            .Width(300)
                            .ClientTemplate(Html.Kendo().DropDownList()
                                                .Name("PartNumberxyz")
                                                .Events(ev => ev.Change("AutomationDeviceMappingDDLChanged"))
                                                .BindTo(ViewBag.MeterParts)
                                                .DataTextField("Text")
                                                .DataValueField("Value")
                                                .HtmlAttributes(new {style = string.Format("width:{0}px", 200)}).ToClientTemplate()
                                                .ToHtmlString()
                            );
                    })
       .ToolBar(toolbar => toolbar.Create())
       .Editable(editable => editable.Mode(GridEditMode.InLine))
       .Pageable()
       .Sortable()
       .Scrollable()
       .Selectable(s => s.Mode(Kendo.Mvc.UI.GridSelectionMode.Single))
       .DataSource(dataSource => dataSource
                                     .Ajax()
                                     .Model(model => { model.Id(p => p.AutomationDeviceId);
                                     model.Field(p => p.PartNumberName).Editable(false);
                                     })
                                     .Create(update => update.Action("CreateNewAutomationDevicePartsMap", "AutomationDevice").Data("AutomationDeviceID"))
                                     .Read(read => read.Action("GetAutomationDeviceMaps", "AutomationDevice").Data("AutomationDeviceID"))
                                     .Update(update => update.Action("UpdateAutomationDevicePartsMap", "AutomationDevice"))
                                     .PageSize(50)
       )
 
       )
Vladimir Iliev
Telerik team
 answered on 25 Sep 2012
10 answers
513 views
This only happens in IE 9. I'm using the kendo silver style.  I have a custom action in a grid.  On mouseover and mouseout, the grid body height expands (right above the footer, but below the scrollbar).  The template for the custom button also seems to remove the filtering options for the other columns.

Here it is in action (if you use IE 9!):
http://jsfiddle.net/xeyaT/

Do you guys have any idea why or how this might happen?
Nick
Top achievements
Rank 1
 answered on 25 Sep 2012
0 answers
158 views
Hi,

In div that will be content for modal window I have kendo menu, kendo DropDownList  and textarea. They render on page load OK.

When I press link that opens a modal window, that uses mentioned above div as its content, it opens window with kendo menu and textarea, but kendo DropDownList has dissapeard and can't be found. 

I have attached MVC default sample project with sample code in Home\Index page that demonstrates this behaviour. 
Rihards
Top achievements
Rank 1
 asked on 25 Sep 2012
1 answer
526 views
Does possible making in grid have sub column like in the image?
I tried grid inside grid but it's not working and only display the inside grid
anyone can help how can approach or any suggestion what would better to do in my problem?
            <script>
$(function() {
$("#grid").kendoGrid({
dataSource: {
transport: {
read: "customgridtest.php",
update: {
url: "update.php",
type: "POST"
},
destroy: {
url: "delete.php",
type: "POST"                            
},
create: {
                                url: "create.php",
                                type: "POST"
                            },
},
error: function(e) {
alert(e.responseText);
},
schema: {
data: "data",
model: {
id: "Customer",
fields: {
Customer: { editable: true },
Order: { validation: { required: true} },
Price: { validation: { required: true} }
}
},
}
},
columns: [
{ field: "Customer", title: "Customer"},
{ field: "Order" , title: "Order"},
{ field: "Price", title: "Price"},
{
/*
$("#grid").kendoGrid({
dataSource: {
transport: {
read: "customdata.php",
},
schema: {
data: "data",
}
},

columns: [
{ field: "Region", title: "Region"},
{ field: "District" , title: "District"},
{ field: "Territory", title: "Territory"},
],

})
,
*/
},
],
navigable: true,   // enables keyboard navigation in the grid
});
});
            </script>
Iliana Dyankova
Telerik team
 answered on 25 Sep 2012
0 answers
255 views
I would like to add model-level validation. So far I can only see kendo-ui supports field-level validation. I want model-level validation (or class-level or entity-level whatever you call it) as the validation rule does not apply to an individual field / property but applies to the entire model. As a consequence, when invalid, the validation message cannot be associated with the input control for an individual field. It must be placed in a validation-summary in a location of my choice. All of this is to happen in a custom popup edit template of a grid. Validation is to be triggered by the Update button on the custom edit popup. Is this possible at all?
Remco
Top achievements
Rank 1
 asked on 25 Sep 2012
1 answer
175 views
Hello,



I use the grid bound to remote data (a SharePoint list odata/rest feed). As you click a column header to sort that column, I would like to sort by a different field than is displayed in that column. I could not find documentation how to do this. I can set the display field on a column in the grid, but I cannot set a different field to sort that column by. Is this supported?



kind regards



Remco
Remco
Top achievements
Rank 1
 answered on 25 Sep 2012
0 answers
120 views

I am trying to use the cross domain communication between the two kendo windows using window.postMessage

 I can achieve the same functionality in using iframe, but I am not able to find the solution for Kendo windows

 Please instruct me there is any an option or features available for cross domain communication in kendo window?

 


 

Prakash
Top achievements
Rank 1
 asked on 25 Sep 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?