Hello, I'm trying to make the kendo map full screen with the following CSS:
#map {
top
:
0
;
bottom
:
0
;
left
:
0
;
right
:
0
;
height
:
100%
;
position
:
absolute
!important
;
z-index
:
9
;
background-color
:
#ccc
;
}
But, when I zoom and slide the map around, I get "whitespace" on the sides that doesn't go away. I've attached a picture of what I see.
Is there a better way of doing this?
Thanks!
Hello,
I have a grid with a bunch of columns representing numbers. Some columns' data is calculated from other columns.
Based on other Forum posts, I know that I can bind to the save event of the grid to determine what fields were edited, and what, if any columns' values need to be updated as a result. This works great. However, the save event fires every time I auto calculate a field. So for instance, if I update a column called UnitPrice, that triggers changes in 3 other columns, then my save event is called 4 times.
I also learned from the (http://www.telerik.com/forums/set-other-row-cells-values-based-on-selected-dropdownlistitem-in-one-cell#db9NSV81OkuDMlzv0brCgQ)[forums] that I can use dot notation to update the data model without refreshing the grid. This results in allowing me to do all my additional calculations and my grid's save event is called one time. Once I call the refresh method on the grid, I can see my newly calculated values. This is exactly what I want, except that now my columns do not show the little red arrow to show that this cell's value has changed.
So my questions are about that little red arrow. What does that little red arrow actually show? Does it show when the grid's data is out of sync with the data source? Does it show if the data source is dirty? How can I make changes to the data model without triggering grid refreshes every time, while also showing on the grid which cells have been updated?
Hi,
In my scheduler i am performing database update while i click on save button on event popup.
The save gets called 2 to 3 times calling the same database SP. This though handled in the SP causes a performance issue as the Scheduler takes time to refresh.
This is happening on some machines and is not happening on some at all.
I also noticed that the Databind event gets called multiple times. Any idea how this can be avoided. Anyone ever experience the same set of issues.
Thanks
Siddhartha
Hi
I've been working with the MultiSelect widget for a while now but this has led to a few questions....
Is there anyway to add or remove selections programmatically? I've implemented the following code in the select event but having tried lots of different methods, as suggested in the forums, I cannot get this to work (e.g. clearing the datasource filter and setting value seems to be the most popular). My multiselect is remote bound. My onSelect event is shown below.
Is there a better way of getting the dataItem rather than how I'm doing it in the first line?
Thanks
Keith
private checkSelection(e: kendo.ui.MultiSelectSelectEvent) {
var
dataItem = e.item.data().$$kendoScope.dataItem;
var
hidSelected = dataItem.hid;
e.preventDefault();
//check to see if adding this will change anything currently selected
_.find(<Array<any>>
this
.msSelector.dataItems(), (s) => {
if
(s.hid != hidSelected) {
//check to see if item's ancestor has been selected
if
(_.startsWith(hidSelected, s.hid)) {
this
.dialogService.showYesNo(
'Confirm selection'
,
'Adding <span class="text-bold">'
+ dataItem.name +
'</span> will remove <span class="text-bold">'
+ s.name +
'</span>. Do you want to continue?'
).promise.then((r) => {
if
(r) {
//remove parent
}
else
{
//remove new selection
}
return
;
});
}
}
});
}
Hi,
How can I retrieve the selected cell column and row index?
For example, if the user selected/clicked on cell A1 then I would like to get the 0,0.. and so on.
Thanks in advance