Telerik Forums
Kendo UI for jQuery Forum
6 answers
1.7K+ views
I want to mark the unread messages as bold inside my inbox,(I'm not using SMTP, They are just database records)
I have another field as "read" in the table to make it as read and unread,

How should one can make particular row bold depend on other field.

Image:
Refer Image

My code:
$(document).ready(function () {
    var keyvalue = window.document.URL.toString().split('?')[1];
    var dataSource = new kendo.data.DataSource({
        transport: {
            read: {
                url: "http://localhost:51565/GetMail.ashx?" + keyvalue + "&action=select",
                dataType: "json"
            },
            destroy: {
                url: "http://localhost:51565/GetMail.ashx?" + keyvalue + "&action=destroy",
                dataType: "json",
                complete: function (jqXHR, textStatus) {
                    ds.read();
                }
            },
            update: {
                url: "http://localhost:51565/GetMail.ashx?" + keyvalue + "&action=update",
                dataType: "json"
            },
 
            parameterMap: function (options, operation) {
                if (operation !== "read" && options.models) {
                    return { models: kendo.stringify(options.models) };
                }
 
            }
        },
        batch: true,
        pageSize: 10,
        schema: {
            model: {
                id: "id",
                fields: {
                    from: { type: "string" },
                    subject: { type: "string" },
                    body: { type: "string" },
                    time: { type: "date" }
                }
            }
        }
 
    });
 
    $("#grid").kendoGrid({
        dataSource: dataSource,
        sortable: true,
        pageable: true,
        editable: true,
        toolbar: ["save"],
        columns: [
            { field: "from", title: "From", width: 150 },
            { field: "subject", title: "Subject", width: 150 },
            { field: "body", title: "Message", width: 250 },
            { field: "time", title: "Date", width: 80, template: '#= kendo.toString(time,"MM/dd/yyyy") #' },
            { command: "destroy", title: " ", width: 110}]
    });
});
Konstantin
Top achievements
Rank 1
 answered on 17 Feb 2017
1 answer
113 views

When the screen size is below 1024px, the view selector collapses to a dropdown. But after I open the dropdown, I can't close it without clicking one of the items.

The dropdown should close when I click outside the dropdown, just like in Kendo Dropdownlist. 

http://prntscr.com/e8ysrm

Joana
Telerik team
 answered on 17 Feb 2017
3 answers
130 views
I have a kendo scheduler. My edit events popup lets you add users to an event, which creates EventRelations in Salesforce and duplicates of the event for each invitee where they are set to the owner of their new event.
So now I make an event, add 3 people, and I have four events appearing on the scheduler in that time slot with everyone's different color to indicate they all have events then.
What I am interested in doing... is grouping those events into one, giving it a unique color for being a group event, and have it appear on everyone's calendar who is invited, but just as one group event marker instead of multiple event markers for everyone who was invited.
I am having trouble figuring out how to absorb all the group events into one group event marker, then have it display for everyone instead of just the event owner.
Thank you in advance for any guidance here!

I have a kendo scheduler. My edit events popup lets you add users to an event, which creates EventRelations in Salesforce and duplicates of the event for each invitee where they are set to the owner of their new event.

So now I make an event, add 3 people, and I have four events appearing on the scheduler in that time slot with everyone's different color to indicate they all have events then.

What I am interested in doing... is grouping those events into one, giving it a unique color for being a group event, and have it appear on everyone's calendar who is invited, but just as one group event marker instead of multiple event markers for everyone who was invited.

I am having trouble figuring out how to absorb all the group events into one group event marker, then have it display for everyone instead of just the event owner.

Thank you in advance for any guidance here!

I have a kendo scheduler. My edit events popup lets you add users to an event, which creates EventRelations in Salesforce and duplicates of the event for each invitee where they are set to the owner of their new event.

So now I make an event, add 3 people, and I have four events appearing on the scheduler in that time slot with everyone's different color to indicate they all have events then.

What I am interested in doing... is grouping those events into one, giving it a unique color for being a group event, and have it appear on everyone's calendar who is invited, but just as one group event marker instead of multiple event markers for everyone who was invited.

I am having trouble figuring out how to absorb all the group events into one group event marker, then have it display for everyone instead of just the event owner.

Thank you in advance for any guidance here!

Bozhidar
Telerik team
 answered on 17 Feb 2017
6 answers
1.0K+ views
Hi,

We have requirement where we have to display 250 columns and 1000 records in the grid.

Does kendo grid supports this type of scenario? Does performance affect with large number of columns?

Thanks,
Suril
Kiril Nikolov
Telerik team
 answered on 17 Feb 2017
3 answers
283 views

I recently upgraded my Kendo libraries to version 2017.1.213 from version 2016.2.812 and my PanelBar will no longer render. I am currently using the datasource formatting as defined here: http://www.telerik.com/forums/kendo-menu-item-click-open-new-window#FWU47PCqfEa5o7OGoNzO8w . I am using this format because I need the target and id attributes on the links which are unavailable with the json format.

Is there a more supported way to do this?

Plamen
Telerik team
 answered on 17 Feb 2017
2 answers
728 views

Hello, I'm trying to use Kendo UI Map to display a radius with a circle. In other words, drop a pin/marker on a map, and show a circle marking a 100 mile/km radius around it. All I am able to find is documentation on adding a polygon shape to a shape layer, but nothing on circles. I tried using a bubble layer, but the bubble stays the same size when you zoom in, so I can't use that. Any thoughts on this would be very helpful.

 

Thanks! -Jason

Jason
Top achievements
Rank 1
 answered on 16 Feb 2017
6 answers
273 views

I am trying to draw line (step) on date axis with small spikes of data but seems like it auto compress.

 

Code

<body>
<div id="example">
    <div class="demo-section k-content wide">
         <div id="chart"></div>
    </div>
</div>
 
<script>
   var stats = [{ value: 0, date: new Date("2012/01/04") },
                { value: 30, date: new Date("2012/01/05 11:22AM") },
                { value: 0, date: new Date("2012/01/05 11:22:30AM") },
                { value: 0, date: new Date("2012/01/10") }];
 
 function createChart() {<br>                    $("#chart").kendoChart({<br>                        title: {<br>                            text: "Units sold"<br>                        },<br>                        dataSource: {<br>                            data: stats<br>                        },<br>                        series: [{<br>                            type: "line",<br>                          style: "step",<br>                            field: "value",<br>                            categoryField: "date"<br>                        }],<br>                        categoryAxis: {<br>                            baseUnit: "weeks"<br>                        }<br>                    });<br>                }<br>                $(document).ready(createChart);<br>                $("#example").bind("kendo:skinChange", createChart);<br>            </script><br>        </div><br></body>
Daniel
Telerik team
 answered on 16 Feb 2017
1 answer
216 views

when importing a spreadsheet which has named ramges the named ranges are not imported. So any cells that reference these by range name do not work.

See attached file for demo.

Nick.

 

Ianko
Telerik team
 answered on 16 Feb 2017
2 answers
106 views

Check the attached sample, and try editing a value and then click on enter (it should move to the cell below). It is very very very slow.

Please help.

Boyan Dimitrov
Telerik team
 answered on 16 Feb 2017
7 answers
298 views

Is there a way to increase the width of the cell dropdown list, which appears when you do range.validation({ my list here });

Thanks!

Marc
Top achievements
Rank 1
 answered on 16 Feb 2017
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
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?