Telerik Forums
Kendo UI for jQuery Forum
1 answer
104 views

Hello,

 

I have a grid with a custom editor on a column that uses a drop-down list. The dataSource of the drop-down list is built on-the-fly, and I set data-text-field, data-value-field and data-bind="value:XXX".

 In Kendo 2015Q2 and Q3, clicking the cell to show the drop-down list will show an empty value (but the list will be properly populated). In any version prior to 2015Q2, clicking the cell will show a drop-down set to the correct initial value.

Would you have any workaround or advice?

Here is the DOJO: http://dojo.telerik.com/ofOdi. Change the library to either 2015Q2 or Q3 to see the difference.

Thanks,

Marc.

Daniel
Telerik team
 answered on 21 Oct 2015
6 answers
230 views
Demos and docs are WILDLY incomplete.  Great we have demo apps, but you can't load them into the dojo and there's no tutorials on how they were built.  The docs have a basic hello world, but it's one view...and all of the concepts are segregated into sub pages.

So this is what I want to do:
1) Main page, has 2 "Views"...master and detail
2) When an item in the master list is clicked, load in the detail view and it's model

Sounds easy, but I've been brickwalled on it for the last hour...no idea what to do.  Like do I create all my view objects first, then create all my routes...do I call router.start after that, or do I call start then create the other routes...do I need a master layout?...I don't THINK I do, but it's impossible to know from the docs...shouldn't the router load in the right view on navigate, I shouldn't need to call .render() right?

Just baffled, even enhancing the hello world with minor view swapping
Jacques
Top achievements
Rank 2
 answered on 21 Oct 2015
5 answers
312 views
It seems as though we are getting a memory leak in IE whenever we call datasource.read()

We are using a function for the transport:read.

 transport: {
                read: function (options) {
                   
                    var report = SomeFunctionThatReturnsJqueryPromise();

                    report.success(function (result) {
                        if (result) {

                            options.success(result.Data);
                        }
                 }
        }
Tim
Top achievements
Rank 1
 answered on 21 Oct 2015
4 answers
132 views

Are there plans to try to keep cell formatting (rich text stuff like like bold, underline, etc) when importing an excel file to the new spreadsheet component? I tried importing a basic spreadsheet using the online demo and it imported row background color, but bolded and underlined text in a cell was not imported - was just plain text.

 If this is not currently planned, is it possible? If so, I'll start a request on which to vote to see if it gains traction.

Alan
Top achievements
Rank 1
 answered on 21 Oct 2015
3 answers
251 views

I've created a map that adds shapes with a label in the middle similar to this example

 

http://dojo.telerik.com/eXUL/4

 Around the label I've put a colored rectangle

 

            //Create the Label Rectangle Area
            var draw = kendo.drawing;
            var Rect = kendo.geometry.Rect;
            path = draw.Path.fromRect(new Rect([labelX - 5, labelY - 2], [label.bbox().width() + 10, label.bbox().height() + 4]), {
                fill: {
                    color: "#307496",
                    opacity: .8
                }
            });

            //Render the rectangle for the label to sit on
            e.layer.surface.draw(path);

            // Render the label on the layer surface
            e.layer.surface.draw(label);​

  

Is there a way to add a click function to this rectangle so I can open a window when it is clicked? Similar to how this example works with the click of the triangle

http://dojo.telerik.com/​

Nicholas
Top achievements
Rank 1
 answered on 20 Oct 2015
1 answer
622 views

Hi,

I am using kendo grid with angular ​environment. One of the issue I am facing here is that I need to get the kendo grid id in the angular controller and then replace the header title with some value.

Here is the code I am using in controller

$("#​Test.kendoGrid th[data-field=DateSubmitted]").html("TestFrequency");​     ​//Tried using jquery

<div kendo-grid="​Test.kendoGrid" k-options="​Test.kendoGridOptions" k-ng-delay="​Test.kendoGridOptions"></div>

As in above, the kendo grid has field 'DateSubmitted' and the title initially while page load is 'Submission Date'. Now on some event, I need to change the title.

But the title is never replaced. Its seems the kendo gird id is not found using jquery.

Let me know if there is any way to accomplish this.

Thanks.

 

 

Plamen Lazarov
Telerik team
 answered on 20 Oct 2015
3 answers
1.4K+ views

Lets say I have three dropdown lists that are cascading. The way my data works, sometimes when you select something ​dropdown #2, the​n dropdown#3 will not have any items in it, because none of them match the value in dropdown #2.

Is it possible to make it so that the third list remains disabled if there are no items in it after selecting from the second list? Right now it becomes enabled because dropdown #2 has a selected value, but then when you click on it, it's empty. 

 

I am using AngularJS, if this makes any difference.

 

Boyan Dimitrov
Telerik team
 answered on 20 Oct 2015
1 answer
390 views

We upgraded our application from Q2 to Q3 build 2015.3.930 this week.  Our select event handlers for ComboBoxes are no longer respecting e.preventDefault().  We use this technique to display a confirmation dialog in certain cases.

I recreated the issue in the dojo to confirm the issue exists in the Q3 ​release and not the Q2 release: http://dojo.telerik.com/olIsi

fabric.bind("select", function(e){ e.preventDefault(); });

Plamen Lazarov
Telerik team
 answered on 20 Oct 2015
4 answers
184 views
The sample on http://docs.kendoui.com/getting-started/framework/spa/overview has a typo. Calling "render" should not be applied to "view" but to "index" instead.

After testing http://docs.kendoui.com/getting-started/framework/spa/router it seems as if both routes "/foo" and "#/foo" were accepted by the "navigate" method. Is it ok to use one or the other?

Regarding http://docs.kendoui.com/getting-started/framework/spa/view what is the recommended way for destroying a view. Is setting the container's innerHtml ok?

Michael G. Schneider
Jacques
Top achievements
Rank 2
 answered on 20 Oct 2015
1 answer
634 views

This pops up over the text box, because we are in a model popup.

 

<div class="form-group">
    <label class="col col-md-5">Enter part of Customer number</label>
    <div class="col col-md-7">
        <input name="number"
               kendo-masked-text-box
               pattern=".{0}|.{3,}"
               type="text"
               ng-model="filterData.number"
               data-pattern-msg="{{resources.validation.minLength3}}"
               data-required-msg="{{resources.validation.required}}"
               ng-required="!filterData.name">
    </div>
</div>

​

Here the inspected source.

 <span class="k-widget k-tooltip k-tooltip-validation k-invalid-msg" data-for="number" role="alert"><span class="k-icon k-warning"> </span> This field is required</span>

 

I need this to display to the right of the input box, not above it because it covers up other stuff that needs to remain visible.

Thanks

 

 
 
Alexander Popov
Telerik team
 answered on 20 Oct 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?