Telerik Forums
Kendo UI for jQuery Forum
1 answer
109 views

Hi,

My problem is when I use the this control and I add some items with filter and after that I click to the box again all items that I added with filter disappearing.

I attached a video from this.

Can you tell me what is the problem?

 Many thanks your help.

 

Georgi Krustev
Telerik team
 answered on 22 Jun 2015
3 answers
262 views

I am using rxjs to stream data from my server to the front-end in subsets. For example, I have a data set of 10,000 rows and the server will send them in response to the request in chunks of 500, making a total of 20 responses. I'm having some trouble updating the grid's dataSource's data set with each new response from the server. This is what I have so far:

grid.dataSource.transport.read = function (options) {
    var dataStream = dataRetriever.stream('handler', params, {}).publish();
    var first = true;
           // each response executes this callback
    dataStream.subscribe(rx.Observer.create(function (data) {
        if (first) {
            first = false;
            options.success(data);
        } else {
            var dataSource = $scope.kg.dataSource;
 
            dataSource.data().push.apply(dataSource.data(), data);
        }
    }));
 
    dataStream.connect();
};

I tried to iterate over the response and call dataSource.add for each item but the page performance plummeted and blocked the UI. I can't seem to find any other way to add the new response to the existing dataSource, but I feel as though there must be something else that I can do. I doubt that I'm the first to have this issue yet my searching hes led to few results.

Kiril Nikolov
Telerik team
 answered on 22 Jun 2015
2 answers
203 views
Hi,

I would like to disable the zooming with mouse scroll and enable zooming  with  Ctrl + mouse scroll, is this possible?
Thanks a lot!
Coal8Support
Top achievements
Rank 1
 answered on 22 Jun 2015
4 answers
918 views
I cannot get my json data to display in a List. Using firebug I can see that my json file is being called but my page is printing out each character as a seperate list item ie. not recognising the json object/schema.

SCRIPT
        $(document).ready(function () {
            var ds = new kendo.data.DataSource({
                transport: {
                    read: {
                        url: "data/team.json"
                    },
                    dataType: "json"
                }
            });
            $("#listview").kendoMobileListView({
                dataSource: ds
            });
        });

JSON
[
{ name: "Bob", title: "Mr" },
{ name: "Fred", title: "Sir" }
]
Any help would be appreciated. Files attached.
Ganesan
Top achievements
Rank 1
 answered on 21 Jun 2015
2 answers
318 views

hello,

 Is there any way to disable rectangle selection in list view with multiple selection parameter?

of course, i still want to use (shift/ctrl) key selection.

 thanks

Yuri
Top achievements
Rank 1
Iron
 answered on 21 Jun 2015
5 answers
1.1K+ views
hi

i would like to have the content divs of the tabstripe with 100% height.
how do i do that?

this does not work:

<div id="tabstrip" style="height:100%">
            <ul>
                <li class="k-state-active">
                    First Tab
                </li>
                <li>
                    Second Tab
                </li>
            </ul>
            <div style="height:100%">
                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer felis libero, lobortis ac rutrum quis, varius a velit. Donec lacus erat, cursus sed porta quis, adipiscing et ligula. Duis volutpat, sem pharetra accumsan pharetra, mi ligula cursus felis, ac aliquet leo diam eget risus. Integer facilisis, justo cursus venenatis vehicula, massa nisl tempor sem, in ullamcorper neque mauris in orci.</p>
            </div>
            <div style="height:100%">
                <p>Ut orci ligula, varius ac consequat in, rhoncus in dolor. Mauris pulvinar molestie accumsan. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean velit ligula, pharetra quis aliquam sed, scelerisque sed sapien. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam dui mi, vulputate vitae pulvinar ac, condimentum sed eros.</p>
            </div>
        </div>

thanks
adrian
Jonathan
Top achievements
Rank 1
 answered on 19 Jun 2015
3 answers
137 views

Kendo Gantt not have in options property "tooltip:null" and data-tooltip not work in Kendo View. Now I use next hack: 

 kendo.ui.Gantt.fn.options.tooltip = null;

 

Please, add in Kendo Gantt options property tooltip.

Bozhidar
Telerik team
 answered on 19 Jun 2015
2 answers
622 views

I've got a function that creates a datasource and populates a template. I'm passing a value ("group_by") into this function that controls part of how the template displays, but I'm unsure how to use it from within the template, since it doesn't exist in the datasource.

Function:

function generateTileView(group_by) {  
    var template_html = $('#tile_template').html();
     
    var template = kendo.template(template_html, {useWithBlock:false});
 
    var datasource = new kendo.data.DataSource({
        transport: {
            read: {
                url: "/Controllers/MainController.cfc?method=getItems",
                type: "get",
                dataType: "json"
            }          
        },
        schema : {
            type: "json",
            data: "Items"
        }
    });
     
    datasource.bind("change", function() {
        var view = datasource.view();  
        var html = kendo.render(template, view);
    });
     
    datasource.read(); 
}

What I'd like to do in the template:

<script id="tile_template" type="text/x-kendo-template">
    # if (group_by == 1) { #
    <div class="list-items-group-content-area ui-layout-west k-widget k-listview">
        <div class="list-items-content-area-heading padding k-block">
            <h2>Group Header</h2>
        </div>
    # } #
    .....
    rest of template
</script>

Ashleigh L
Top achievements
Rank 1
 answered on 19 Jun 2015
2 answers
198 views

I am trying to open an paymentEditor.cshtml from subscriberEditor.cshtml. SubscriberEditor is a popup form when a new record or update record clicked on a grid.

This is my code.

 

SubscriberEditor:

<table>
                    <tbody>
                        <tr>
                            <td>
                                <script>
                                    $('#MakePayment').click(function () {
                                        var left = ($(window).width() / 2) - (600 / 2),
                                        top = ($(window).height() / 2) - (300 / 2),
                                        popup = window.open("~/PaymentEditor.cshtml", "MakePaymentPopup", "width=600, height=300, top=" + top + ", left=" + left);
                                        return popup;
                                    });
                                </script>  
                                @(Html.Kendo().Button()
                                    .Name("MakePayment")
                                    .HtmlAttributes( new {type = "button"} )                                                                                                                                               
                                    .Content("Make A Payment")
                                )
                            </td>
                        </tr>
                    </tbody>   

 

Can anyone can tell me why isn't this working?

Boyan Dimitrov
Telerik team
 answered on 19 Jun 2015
2 answers
636 views

Hi,

 

I m drawing line chart using line chart, consider i have a data for the days 1,2,4 and 7 in the x-axis and 0 -100 in y axis . The line chart draws perfectly on the nodes 1 to 2, 2 to 4 and 4 to 7. But the the problem is here in x- axis 3, 5 and 6 is missing (obviously the node not drawn there) . is that any way to show the line chart 1 to 2, 2 to 3 ( go default to zero even no value is mention to draw), 3 to 4, 4 to 5, 5 to 6, 6 to 7.  Exactly to say the missing values which is not given from the user it should go down to zero and draw the nodes which the actual data. please see the screen shot for further reference.

 

When no value it should not directly pass to next node, My idea to show the amount of sales in particular day/month, the missing days/month not having any data means no sales. should go down to zero. If I process from back-end its huge amount of data generate for zeros. Please help me out from this problem with possible solutions. 

 

Thanks,

Jagan

Pon
Top achievements
Rank 1
 answered on 19 Jun 2015
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?