Telerik Forums
Kendo UI for jQuery Forum
5 answers
287 views

I have run into a problem while trying to do some on the fly charts.

I provided a dojo with the problem, what happens is that category axis doesn't scale the values so it goes like this 2015 - 2016 - 2015 -2016.

I can't seem to figure out the problem.

http://dojo.telerik.com/eWONO/11

 

Any help is much appreciated,

Thanks.

T. Tsonev
Telerik team
 answered on 29 Mar 2016
1 answer
201 views

When you initialize a Gantt inside a div with "display:none", it cannot get the proper width, and it renders incorrectly.

Is there any way to redraw the gantt after make the parent visible?

 

Something like:

<script type="text/javascript">

function showAll() {
        $("#div-parent").css("display", "block");
        var gantt = $("#gantt").data("kendoGantt");
        gantt.redraw();
    }

</script>

Bozhidar
Telerik team
 answered on 29 Mar 2016
8 answers
415 views

Hi,

     I have a grid with custom popup editor template using angularjs and it works fine so far.  However, when I try to use a detailtemplate in this master detail grid, I have a problem.  I have many ng-show directives like this snippet:

<script type="text/x-kendo-template" id="detailTemplate">
      <div dir-loadtemplate class="detailText">
              <ul>
                   <li ng-show="showCert"><label>CERType: </label>#= CERType == null ? '' : CERType.Description #</li>
                   <li ng-show="showEquipmentClass"><label>EquipmentClass: </label>#= EquipmentClass == null ? '' : EquipmentClass.Description #</li>

I click on row 1, it is good, I click on row 2, it is good, I click on row 1, and some fields are now hidden because I have less fields shown in row 2 than in row 1.

I tried to refresh angular properties like showCert on detailExpand event of the main grid, and it does not work.  I set breakpoint and it pass on the property set (showCert) and value is good.

$scope.ControlAccess = function (e) {
            $scope.showCert = e.AssignmentType != null && e.RequestType != null && e.RequestType.Id == "1" /*Nouvelle assignation*/ && e.AssignmentType.Id == "5" /*Document d'équipement*/;
            $scope.showEquipmentClass = $scope.showCert;

Any idea?

Thank you

 

 

 

Steve
Top achievements
Rank 1
 answered on 28 Mar 2016
0 answers
194 views

Thanks to Petyo for the great tip of using inverted ignore selector for draggable handle! 

Please see https://plnkr.co/edit/RLfJEhDDB9k1heXwWb5X?p=preview

Quotient
Top achievements
Rank 1
 asked on 28 Mar 2016
2 answers
86 views

Is there a way to use Kendo UI Grid for filtering a table with multiple values in some cells?

 

I'm going to use Kendo UI, but originally posted the question here:

http://programmers.stackexchange.com/questions/313657/is-there-a-name-for-such-search-model

 

Is that possible with Kendo UI?

Dimo
Telerik team
 answered on 28 Mar 2016
7 answers
750 views
Hello.
Please advise if it is possible to prevent grid from fetching data again after setOptions method was called.
Dimo
Telerik team
 answered on 28 Mar 2016
3 answers
1.0K+ views

columns: [
  {field: 'EmptyExport', values: ['red', 'white', 'blue']},
  {field: 'GoodExport', values: [
    {text: 'red', value: 'red'},
    {text: 'white', value: 'white'},
    {text: 'blue', value: 'blue'}]
  }
]

If you use the excel export feature for a grid with the columns listed above, the 'EmptyExport' field values don't make it into the excel grid (it's just an empty column), but the GoodExport field values do.

This is with version 2016.1.322

Dimiter Madjarov
Telerik team
 answered on 28 Mar 2016
13 answers
780 views
I have a grid that I bind explicitly with method .data("kendoGrid").dataSource.read();

But the selectable property is not working for the grid. I cannot select the databound columns. I guess this is somewhat due to the fact that I bind the grid explicitly.

Do I have to do something else work selectable to work?

searchGrid = $("#SearchGrid").kendoGrid({
            scrollable: false,
            selectable: "multiple row",
            autoBind: false,
            dataBound: gridDataBound,
            select: rowSelected,
            columns: [
                {
                    field: "Book.Code",
                    title: "Kitap",
                    width: 60
                },
                {
                    field: "No",
                    title: "Poz No",
                    width: 100
                },
                {
                    field: "Description",
                    title: "Tanım"
                },
                {
                    field: "Unit",
                    title: "Birim",
                    width: 60
                },
                {
                    field: "UnitPrice.Value",
                    title: "Birim Fiyat",
                    template: '#= kendo.format("<b>{0:yyyy}</b> : {1:c}", new Date(UnitPrice.Date), UnitPrice.Value) #',
                    width: 120
                }
            ],
            dataSource: new kendo.data.DataSource({
                serverFiltering: true,
                serverPaging: true,
                transport: {
                    read: {
                        url: "/Api/Item",
                        cache: true
                    },
                    parameterMap: function () {
                        var searchText = searchSuggest.data("kendoAutoComplete").value();
                        var bookID = books.data("kendoDropDownList").dataItem().ID;
                        var searchField = searchFields.data("kendoDropDownList").dataItem().Value;
                        var priceYear = priceYears.data("kendoDropDownList").dataItem();
 
                        return {
                            searchText: searchText,
                            bookID: bookID == "" ? "null" : bookID,
                            searchField: searchField,
                            priceYear: priceYear == "Tüm Yıllarda" ? "null" : priceYear
                        };
                    }
                }
            })
        });

Konstantin Dikov
Telerik team
 answered on 28 Mar 2016
1 answer
257 views

In the last few days, whenever I try to enter http://dojo.telerik.com/ I get an error page from http://my.modules.io/ saying the application dojo.telerik.com was not found. 

 

Is this a local problem on my end (and if so - how do I fix it?), or is it a global issue (in which case - is there an expected time for this to be fixed?)

 

Thanks. 

Itai
Top achievements
Rank 1
 answered on 28 Mar 2016
2 answers
1.0K+ views

Hello,

I noticed that the grid doesn't perform validation when the user click on the save button, when the grid has incell editing activated. The validation only occurs when the user modifies one cell.
If you create a new row and then click the save button, you save the row without validation.

You can see the problem here, just add row and then click save:
http://dojo.telerik.com/UNIgi

look at the field "productName".

There is any way to solve this?

Thank you.

Fernando
Top achievements
Rank 1
 answered on 28 Mar 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
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?