Telerik Forums
Kendo UI for jQuery Forum
1 answer
354 views

Hello Kendo Spreadsheet Team,

 

I'm looking for a way to apply validation along this line of thinking:

     "If Cell A1 is null, then A2 is allowed to be null"

     "If Cell A1 is not null, then A2 is not allowed to be null"

However I have not been able to find an effective way of accomplishing this.  I want to selectively allowNulls depending on whether or not another column (not the one currently being validated) has a value or not.  I cannot seem to accomplish that by simply assigning allowNulls a boolean value:

     Scenario 1: allowNulls=true

               validation won't run on any of the empty cells so I cannot get the invalid warning marker to indicate the field needs a value conditional on another cell

     Scenario 2: allowNulls=false
               all blank cells will be marked red regardless of whatever excel logic you put in the 'from:' section. completely empty rows will have their cells be marked as invalid

Any thoughts on how this can be accomplished?

Thanks,

Jeff

Stefan
Telerik team
 answered on 28 Sep 2016
3 answers
511 views

trying to get scheduler to print out in agenda view onto multiple pages. I can get it crammed onto one page and completely useless and unreadable or i can get 2 pages, one with a header and the other runs off page and data becomes missing.

I tried some options from http://www.telerik.com/forums/better-(configurable)-pdf-output-on-the-scheduler but no avail.

So short question: can kendo ui scheduler export to pdf on multi pages AND look ok? If so how?

here is my code snippet

 

<button onclick='getPDF("section")'>Custom page Export</button>

 

 function getPDF(selector) {
            kendo.drawing.drawDOM($(selector), {
                paperSize: "Letter",
                multiPage: true,
                margin: { top: "2cm", left: "1cm", right: "1cm", bottom: "1cm" }
            }).then(function (group) {
                //Render the result as a PDF file
                return kendo.drawing.exportPDF(group);
            }).done(function (data) {
                //Save the PDF file
                kendo.saveAs({
                    dataURI: data,
                    fileName: "Calendar.pdf",
                    proxyURL: "https://www.DOMAINNAME.com/Homeroom/Calendar/Export"
                });
            });
        }

Peter Milchev
Telerik team
 answered on 28 Sep 2016
1 answer
904 views

Hi,

I am have two grid and need to merge the data from the two grids. I get the datasource for each of the grid, but I am not sure how to merge the data. (I have tried push method on the observablearray but failed to merge the objects).

            var items1= $scope.items1Grid.dataSource.data();
            var items2= $scope.items2Grid.dataSource.data();
            var mergedItems= items1.push(items2);

 

Anyway to accomplish this?

Thank you

YK

Stefan
Telerik team
 answered on 28 Sep 2016
2 answers
411 views

We have a site that is built with Bootstrap 3.0 style sheets. When we use a Kendo UI DatePicker as a standalone item on an input control, it looks very nice with the Kendo.Boostrap css. However, when we use a DatePicker inside a Kendo grid it has no bootstrap styling, plus there are other elements we see that we don't want user to have to deal with.  See the attached picture to see how the two look so different. I circled in red the controls we don't want the user to see.

<link rel="stylesheet" href="//kendo.cdn.telerik.com/2016.3.914/styles/kendo.common-bootstrap.min.css" />
<link rel="stylesheet" href="//kendo.cdn.telerik.com/2016.3.914/styles/kendo.bootstrap.min.css"/>

<script src="//kendo.cdn.telerik.com/2016.3.914/js/kendo.all.min.js"></script>
<script src="//kendo.cdn.telerik.com/2016.3.914/js/kendo.aspnetmvc.min.js"></script>

(using a shared partial view for the grid column.)

col.Bound(c => c.StartDate).EditorTemplateName("Date")

(partial view for the template "Date")

@(Html.Kendo().DatePickerFor(m => m).Format("dd/MM/yyyy"))

 

Any thoughts?

Eduardo Serra
Telerik team
 answered on 27 Sep 2016
1 answer
153 views

Hello,

is there any way to resize the map to a fixed size (e.g. the size of an A4-paper), before printing.
Maybe with help of "@media print" CSS, or by using javascript.

All the solutions I have tried ends up with cropping just the top left corner of the map.

 

Thanks!

Rumen
Telerik team
 answered on 27 Sep 2016
1 answer
109 views

Hi,

I have a problem using the KendoUI Dialog component :
When a Dialog is closable, the X button appears on the dialog, and when I click on it, the browser navigates to '#'. After looking in the code, when you create the button, (which is a <a> link), you set the href to #, which causes the navigation. Is there any way to disable this navigation or redefine the link ?

Demonstration of the problem :

Go to : http://demos.telerik.com/kendo-ui/dialog/api#, click edit this example, run the code in dojo, open the dialog and close it by clicking the X button on the top right.

Thanks

Alex Hajigeorgieva
Telerik team
 answered on 27 Sep 2016
1 answer
254 views

I have my odata feed working correctly, however I am running into issues when trying to filter on a child property. The way the API is setup it expects that you run a lambda expression against the endpoint to filter on child properties. I've requested help from support but keep getting answers which don't apply or that are vague.

 

My URL looks like this:

https://datafeed.rogcoinc.com/odata/POHeaders/?$top=20&$filter=POLines/any(c:%20c/Item/itemNumber%20eq%20%27552867497%27)

Basically select top 20 from POHeaders where any POLine.ItemNumber = 55286749

 

Someone has to have ran into this before...is there a solution or did we buy a $1400 product that won't address our needs??

 

 

Boyan Dimitrov
Telerik team
 answered on 27 Sep 2016
3 answers
154 views

I'm using the server dropdown list in a kendo window that opens when the user does an action. I have the dropdownlist control open when the window opens by using 

dropdownlist.open();

but the keyboard controls (arrow keys) aren't working for it even if I put focus on it using

$('.dropdown').find('.k-textbox')[0].focus();

Any idea how to do it? I see that this also doesn't work in your demo here http://dojo.telerik.com/OZixO.

 

Thanks!

Stefan
Telerik team
 answered on 27 Sep 2016
1 answer
418 views

Hi, 

Is there a way to access the DatePicker widget (and description text) that is used for navigation in the kendoScheduler? I'd like to change a few of its options.

Thanks,
Grant

Veselin Tsvetanov
Telerik team
 answered on 27 Sep 2016
1 answer
124 views

Hello everybody. After update to new version i found a bug in "select" event of DropDownList widget in KendoUI (2016.3.914).

I create this example to show you what's wrong: http://dojo.telerik.com/UJubi

In this version of KendoUI "select" event called multiple times (instead of one) when user choose item from list, see in developer tools console.

Georgi Krustev
Telerik team
 answered on 27 Sep 2016
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
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
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
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?