Telerik Forums
Kendo UI for jQuery Forum
3 answers
495 views
Hi,

I want to create a table and add it to a row in a kendo grid. I want to generate this table whenever I expand this row.

Regards,
Mohit

 
Daniel
Telerik team
 answered on 30 Apr 2013
1 answer
89 views
We need to add a margin around the tooltip somehow, so like the top tooltip we need to make it be 5-10px higher than where it is (based on our custom style or theme)

Problem is the tooltip element itself doesn't have any class to tell us it's loading at the top, best we get is the nested inner "callout"

Can we get a class on the root element to tell us what it is
AND\OR
The ability to set the "offset" on the tooltip as a config option?


Steve
Alexander Valchev
Telerik team
 answered on 30 Apr 2013
1 answer
276 views
Is there a way to refresh only the selected grid row (Connected on a OData service with virtualization of remote data and virtual scrolling) without changing the selection?

Best regards,

Simon
Petur Subev
Telerik team
 answered on 30 Apr 2013
1 answer
272 views
Hi

i have 2 questions to the Kendo grid. Is it possible to set a link "<a href=...>" on a text in the Grid?

Second is there something like "LostFocus" on editing a GridCol?

Thanks Best Regards
Rene
Nikolay Rusev
Telerik team
 answered on 30 Apr 2013
1 answer
77 views
Hi,

I'm trying to use the Grid Filter, but without any success. I Attached the Project.
Please what's wrong here?

Thanks
Rene
Nikolay Rusev
Telerik team
 answered on 30 Apr 2013
3 answers
74 views
after upgrade to build 416 - tree items loaded at initialization time
LoadOnDemand set to true and TemplateId was initialized
if I remove TemplateId - all work fine
Please Help!
Alex Gyoshev
Telerik team
 answered on 30 Apr 2013
1 answer
89 views
Is there a way to set labels of radial gauges at specific intervals? Such as if I have a range of 0-300, and I want to set labels only at 65, 98, 194, 250. So far I have only been able to set them at equal distance range intervals. 
Iliana Dyankova
Telerik team
 answered on 30 Apr 2013
1 answer
78 views
I have this grid:
@(Html.Kendo().Grid<Payday.Website.Models.Message.MessageViewModel>()
.Name("Message")
.Columns(columns =>
{
columns.Bound(p => p.Id).Groupable(false);
columns.Bound(p => p.MessageType).ClientTemplate( "#= (MessageType.Name == null) ? ' ' :MessageType.Name #");
columns.Bound(p => p.Employee).ClientTemplate("#=Employee.FullName#");
columns.Bound(p => p.Responsible).ClientTemplate("#=Responsible.FullName#").EditorTemplateName("PayDayEmployee").Width(200);
columns.Bound(p => p.Sender).ClientTemplate("#=Sender.FullName#");
columns.Bound(p => p.SentDate).Format("{0:dd-MM-yyyy}");
columns.Command(command => command.Custom("Vis").Click("ShowMessage"));
columns.Command(command => command.Edit());
})
.ToolBar(toolBar =>
{
//toolBar.Save();
})
.Editable(editable => editable.Mode(GridEditMode.InLine))
.Groupable()
.Pageable()
.Sortable()
.Scrollable()
.Filterable()
.HtmlAttributes(new { style = "height:730px;" })
.DataSource(dataSource => dataSource
.Ajax()
.Events(events => events.Error("error_handler"))
.Batch(false)
.PageSize(25)
.Model(model =>
{
model.Id(p => p.Id);
model.Field(p => p.Id).Editable(false);
model.Field(p => p.MessageType).Editable(false);
model.Field(p => p.Employee).Editable(false);
model.Field(p => p.Sender).Editable(false);
model.Field(p => p.SentDate).Editable(false);
})
.Read(read => read.Action("GetPayDayMessages", "Message"))
.Update(update => update.Action("UpdateMessages", "Message"))
)
)


I am able to enter edit mode and i can cancel it.
If i doesn't make any changes i can press update just fine.
If i make changes the changes are sent to the server but the grid remains in édit mode.
I can see i recieve a empty reply from the server and if there is an error in the data then i recieve the expected error message.
My server method looks like this:

 [AcceptVerbs(HttpVerbs.Post)]
public ActionResult UpdateMessages([DataSourceRequest] DataSourceRequest request,
[Bind(Prefix = "models")]IEnumerable<MessageViewModel> messages)
{
if (messages != null && ModelState.IsValid)
{
foreach (var m in messages)
{
var message = _iMessageRepository.GetById(m.Id);
if (m.Responsible != null)
{
message.Responsible = EmployeeRepository.GetById(m.Responsible.Id);
}
else
{
message.Responsible = null;
}
_iMessageRepository.Save(message);
}
}
// return Json(messages.ToDataSourceResult(request, ModelState));
return Json(ModelState.ToDataSourceResult(), JsonRequestBehavior.AllowGet);
}
I include files like this:
<link href="@Url.Content("~/Content/kendo/2013.1.319/kendo.common.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2013.1.319/kendo.dataviz.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2013.1.319/kendo.default.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2013.1.319/kendo.dataviz.default.min.css")" rel="stylesheet" type="text/css" />
<!--<script src="@Url.Content("~/Scripts/kendo/2013.1.319/jquery.min.js")"></script>-->
<script src="@Url.Content("~/Scripts/kendo/2013.1.319/kendo.all.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2013.1.319/kendo.aspnetmvc.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.modernizr.custom.js")"></script>


Any ideas ?
Winnie
Top achievements
Rank 1
 answered on 30 Apr 2013
2 answers
104 views
I'm currently converting an App from Telerik ASP.NET AJAX to the newest Kendo UI. The App heavily uses the "Filter" control which is attached to a Grid to sort through data. These filter configurations can then be saved to the database to allow Users to save/load Custom Grid Views.

I do not see a Filter control within the Kendo UI controls, is there an alternative to this functionality I could use to filter/sort the Kendo UI Grid?

Regards,
Landon
Landon
Top achievements
Rank 2
 answered on 29 Apr 2013
6 answers
532 views
Hi All,

I am trying to pass parameters to controller action method from listview. But mvc controller action is not firing.. Script is below.
   
    <script type="text/x-kendo-tmpl" id="titletemplate">
                <div class="titleClass">
                <input type='checkbox' class='titleCheck' id=${CplGuid}  value=${aaaa}" > ${bbbb} </div>            
                </script>
                @(Html.Kendo().ListView<Dcip.KeyVault.Portal.Areas.KeyVaultUI.Models.DownloadKdmPE>()
        .Name("titles")
                        //.Events(events => events.DataBound("OnKeyDataBound"))
        .TagName("div")
        .ClientTemplateId("titletemplate")
        .DataSource(source =>
        source.Read(
        read => read.Action("xxxx", "yyyy").Data("filterTitles"))
        .PageSize(25)
        )       
        .Selectable(selection =>
        {
            selection.Enabled(true);
            selection.Mode(ListViewSelectionMode.Multiple);
        })
                        //.Pageable(pager => { pager.PageSizes(true); pager.ButtonCount(1); })
        .Pageable(pager => { pager.PageSizes(new int[] { 10, 20, 25 }); pager.ButtonCount(1); })
        )

<script type="text/javascript">
 function filterTitles() {
        alert('Hi Titles');
        return { xxId: 1 ,yyId:1 };
    }
</script>


Immediate help would be appreciated.

Regards,
Partha.
David
Top achievements
Rank 1
 answered on 29 Apr 2013
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?