Telerik Forums
Kendo UI for jQuery Forum
14 answers
4.0K+ views
Hi,
We downloaded your last build 'kendoui.web.2012.1.322.commercial'. But we couldn't find the 'kendo.all.min.js' in the JS directory. Any chance of getting the all minified of the latest JS?

Thanks.
Sebastian
Telerik team
 answered on 10 Jul 2012
0 answers
102 views
I have a KendoUI Grid Embedded in a Tabstrip like so:

...
<
div id="tabstrip">
<ul>
<li class="k-state-active">Tab 1 Title</li>
<li>Tab 2 Title</li>
</ul>
<!--Tab1-->
<div>
<div id="grid"></div>
</div>
<!--Tab2-->
<div>
<div id="Tab2">
Config 1: <input type="text" name="config1" />
Config 2: <input type="text" name="config2" />
<input type="checkbox" name="config3" value="Config A" /> Config A
<input type="checkbox" name="config3" value="Config B" /> Config B
</div>         
</div>                 
</div>
...

When I use the following libraries, the grid will populate, but the filters will be blank:
    <script src="../../../js/jquery.min.js"></script>
    <script src="../../../js/kendo.dataviz.min.js"></script>
    <script src="../../../js/kendo.core.min.js"></script>
    <script src="../../../js/kendo.all.min.js"></script>
    <script src="../../content/shared/js/console.js"></script>


When I use these libraries, the grid will not populate, but the filters will work:
    <script src="../../../js/jquery.min.js"></script>
    <script src="../../../js/kendo.web.min.js"></script>  
    <script src="../../../js/kendo.dataviz.min.js"></script>
    <script src="../../../js/kendo.core.min.js"></script>

    <script src="../../content/shared/js/console.js"></script>


Any ideas?
Thomas
Top achievements
Rank 1
 asked on 10 Jul 2012
1 answer
162 views
I am trying to get the dropdownlist to auto size to the contents after an ajax load.   In the dataBound event I have the following code:

if( isDefined( this.options.width )) {
    if( this.options.width === "auto" ) {
     var popup = this.control.popup.element;
     var width = popup.css("visibility","hidden").show().outerWidth();
     popup.hide().css("visibility","visible");
    } else {
     width = this.options.width;
    }
    this.control.wrapper.closest(".k-widget").width(width);
}

It seems to operate to some degree, but the problem is the outerWidth is not calculated properly and I am still getting wrapping on the items in the dropdown list.   

Is this an issue with the calculation or am I doing this too soon (i.e. while it is still loading)?  

Is there a better way?
Is there a different event I should use?  (using this method in the change event does not work at all)

Petur Subev
Telerik team
 answered on 10 Jul 2012
2 answers
364 views
I was so exciting about giving this framework a go and can't believe I am posting in the forum unable to get the basic usage Grid working.
 
$(function(){<br>        $("#grid").kendoGrid();<br>    });

Hope someone can help....
Jerry T.
Top achievements
Rank 1
 answered on 10 Jul 2012
1 answer
7.3K+ views
I'm trying to loop through the dataitems held by my grid but get an error that the field I am  trying to look at in every data item is undefined. This is the code I'm using:

grid = $("#grid").data("kendoGrid");
 
for (var i = 0; i < 50; i ++) {
    if ( grid.dataItem(i).FirstName == reference) {
        var item = grid.dataItem(i);
        break;
    }
}

What I'm trying to do is get the data item whose FirstName field matches the reference variable. Does anyone have any ideas?
Jerry T.
Top achievements
Rank 1
 answered on 10 Jul 2012
0 answers
92 views
Hi there,

we can adjust Pie chart tooltip distance.

if possible, anybody can please help me...

thanks,
Rajesh.C
Rajesh
Top achievements
Rank 1
 asked on 10 Jul 2012
1 answer
267 views
I have an image with an onclick event that's part of a listview item template. Everything works fine - except that when I click the image it fires the listview's change event, and then it fires the img onclick event.I'd like to prevent the change event from firing, or to be able to identify the change event as relating to the img click (then I could ignore it).

Any ideas?
Petur Subev
Telerik team
 answered on 10 Jul 2012
1 answer
273 views
I have defined a grid as follows...
            $("#grid").kendoGrid({
                dataSource: {
                    data: result.d,
                    schema: {
                        model: {
                            fields: {
                                ClientID: { type: "string" },
                                ClientName: { type: "string" },
                                ClientIndexRating: { type: "number" },
                                ChrgKPI: { type: "number" },
                                PymtKPI: { type: "number" },
                                RevKPI: { type: "number" }
                            }
                        }
                    }
                },
                navigatable: true,
                scrollable: true,
                sortable: {
                    mode: "multiple"
                },
                groupable: true,
                resizable: true,
                filterable: true,
                reorderable: true,
                selectable: "row",
                columns: [
                    {
                        field: "ClientID",
                        title: "Client ID",
                        width: 100
                    },
                    {
                        field: "ClientName",
                        title: "Client Name",
                        width: 300
                    },
                    {
                        field: "ClientIndexRating",
                        title: "Rating",
                        width: 100
                    },
                    {
                        field: "ChrgKPI",
                        title: "Charges vs. KPI",
                        width: 100,
                        format: "{0:n2}"
                    },
                    {
                        field: "PymtKPI",
                        title: "Payment vs. KPI",
                        width: 100,
                        format: "{0:n2}"
                    },
                    {
                        field: "RevKPI",
                        title: "Revenue vs. KPI",
                        width: 100,
                        format: "{0:n2}"
                    }
                ]
            });
        }

I would like to add two columns that would pass data from the current row to a function and which would in turn go get something and then stuff it into the correct row/column.  How do I go about doing this?

Thanks,
Andy
Petur Subev
Telerik team
 answered on 10 Jul 2012
1 answer
94 views
See sample web page here, why is there extra space at the top of the first and last page, yes, all the other pages are just fine....? Thanks in advance!
Kamen Bundev
Telerik team
 answered on 10 Jul 2012
1 answer
148 views
I have a datasource with a read transport that specifies a function for setting some data. This works fine until I added the parameterMap function for specifying different data used on an update. Now, the parameterMap function is used, which returns null for reads, and the transport read data is not used at all. Is there a workaround so I can use both?
Rosen
Telerik team
 answered on 10 Jul 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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
ContextMenu
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?