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.
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; 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.
$(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.
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
<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>
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.
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>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?
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