Telerik Forums
Kendo UI for jQuery Forum
0 answers
151 views
I have the need to remove a widget from the DOM and create a new one.
Adding a widget is obvious but how to remove an existing one?
Thanks
nachid
Top achievements
Rank 1
 asked on 25 Jun 2012
1 answer
119 views

In the attached program, when you load “Survey Local”  the charts on the left and right looks the same and this is how they should look.

 The problem is once you click on any “yes” or “no” button I programmatically update the chart by following codes near line 719

 var chart = $("#PieChart1").data("kendoChart");

                        chart.options.series[0].data = series;

                        chart.refresh();

 The chart did update but the layout changed too which should not happen and I had no idea why.

 Please Help.

 Thanks

Edwin

Iliana Dyankova
Telerik team
 answered on 25 Jun 2012
1 answer
129 views
Hi,

I am interested in evaluation Kendo UI (the full package including DataViz) but I wonder if it works for Windows 8 (currently the Release Preview) Metro applications developped with HTML5 and Javascript.

Thanks.
Dirk
Top achievements
Rank 1
Iron
 answered on 25 Jun 2012
3 answers
104 views
How can I get notified by e-mail when a new build is published and it's release notes?

Thanks,
Jeff
Dimitar
Telerik team
 answered on 25 Jun 2012
2 answers
2.4K+ views
Hi there,

Is there a way to show an initially hidden tab strip and then hide it again?

I tried a number of ways (adding display: none and i tried adding visibility: hidden) but they only seems to work once and then break scrolling etc.

It's not possible for me to use different views with different layouts defined (With and without a tab strip) because I require it for the same view.

Thanks in advance!

Rob
Grant
Top achievements
Rank 1
 answered on 25 Jun 2012
3 answers
144 views
I can add and apply the filter properly but when I click on the 'Clear' button for my column filter, it re fetch the data to the server (good) but keep the previous filters. It works only if I change for another selection.
My odata filter is look like this when I click on clear on the State filter column, the filter remains for that column.
$filter(YearSalesTarget ge 1000 and State eq 'nv')

I have tested with the new 2012.Q1 beta and I can't reproduced with the demo.
Maybe this is caused by the fact that I have overwritten the parameterMap?
How can I refresh the parameterMap properly? Any idea?

parameterMap: function(data,operation) {
                    if (operation == 'read') {
                    // Used default odata parameters
                    return kendo.data.transports["odata"].parameterMap(data,operation)
                    }
...
}
Steve
Top achievements
Rank 1
 answered on 25 Jun 2012
0 answers
249 views

I seem to be getting a memory leak on the grid widget. I pasted my code is below. In Firefox 12, when the application first runs up, Windows Task Manager says it is taking up around 60Mb of memory. If you click the add button, the memory used grows to around 85Mb, When you click the remove button, the memory does reduce a bit (after about 30 secs), but it only reduces to around 80Mb.

Is there leak in my code or kendo grid widget?

<!DOCTYPE html>

<html>

<head>

    <title>test</title>

    <script src="Scripts/jquery.min.js"></script>

    <script src="Scripts/kendo.web.min.js"></script>

    <link href="Styles/kendo.common.min.css" rel="stylesheet" />

    <link href="Styles/kendo.metro.min.css" rel="stylesheet" />

</head>

<body>

    <div>

        <button id="add" value="add">add</button>

        <button id="remove" value="remove">remove</button>

        <div id="grid"></div>

    </div>

    <script>

        $(document).ready(function () {

            $("#add").click(function () {

                var data = [],

                sharableDataSource,

                i;

                for (i = 0; i < 5000; i = i + 1) {

                    data.push({ field: "value " + i

                    });

                }

                sharableDataSource = new kendo.data.DataSource({ data: data });

                $("#grid").kendoGrid({

                    groupable: false,

                    scrollable: true,

                    sortable: true,

                    pageable: false,

                    resizable: true,

                    selectable: "row",

                    dataSource: sharableDataSource,

                    columns: [{ field: "field", title: "field" }]

                }).data("kendoGrid");

                data = null;

                sharableDataSource = null;

            });

            $("#remove").click(function () {

                $("#grid").empty();

            });

        });

    </script>

</body>

</html>

Maarten
Top achievements
Rank 1
 asked on 25 Jun 2012
0 answers
133 views
Hi,
is there a standard way to show  already uploaded files and provide a delete button for them?
Developix
Top achievements
Rank 1
 asked on 25 Jun 2012
7 answers
511 views
Hi,

Trying to get the basic Grid sample to work.  Getting the following errors...

SCRIPT5007: Object expected
kendo.all.min.js, line 1 character 13464
SCRIPT438: Object doesn't support property or method 'kendoGrid'
index.html, line 19 character 2

Here is my HTML - any help is appreciated as I'm sure it is a basic, newbie mistake.

<html>
<head>
    <title>Test Kendo</title>
    <!--In the header of your page, paste the following for Kendo styles-->
    <link href="../js/kendo.common.min.css" rel="stylesheet" type="text/css" />
    <link href="../js/kendo.kendo.min.css" rel="stylesheet" type="text/css" />
    <!--Then paste the following for Kendo scripts -->
    <script type="text/javascript" src="jquery-1.2.6.min.js"></script>
    <script type="text/javascript" src="js/kendo.all.min.js"></script>
</head>
<body>
    <div id="grid">
    </div>
    <script type="text/javascript">
        $("#grid").kendoGrid({ columns: [{ field: "FirstName", title: "First Name" }, { field: "LastName", title: "Last Name"}], dataSource: { data: [{ FirstName: "Joe", LastName: "Smith" }, { FirstName: "Jane", LastName: "Smith"}]} });
    </script>
</body>
</html>
 
Jeremiah
Top achievements
Rank 1
 answered on 25 Jun 2012
1 answer
245 views
I have a requirement that if the series type of line hits 0 to break the line and continue once the series has another value above 0.

Is this possible? Can I hide certain data points?

Let me know if a visual would help.
Iliana Dyankova
Telerik team
 answered on 25 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?