Telerik Forums
Kendo UI for jQuery Forum
1 answer
367 views
On Kendo grid I've implemented a search functionality that looks for values in the grid. But I've been able to do this only for one column. example: http://demos.kendoui.com/web/grid/toolbar-template.html 

I am not sure how to do it for multiple columns. Any ideas?

Thanks.
Just
Top achievements
Rank 1
 answered on 24 Sep 2012
1 answer
256 views
Hi,

I am using the latest build of Kendo UI (2012.2 913) and I am trying to display a "success" message after a user creates a new record using popup template.

Currently I am returning a JSON Object once the insert is completed as:

 public ActionResult GalleryCreate([DataSourceRequest]
                                          DataSourceRequest request, UserCreateModel model) // decorated with DataSourceRequestAttribute
        {
                if (null != model && ModelState.IsValid)
                {
                    service.CreateUser(model);

                    var json = new
                    {
                        success = true,
                        successMessage ="Successfully added a new User!"
                        
                    };
                    return Json(json);
                }
}

--->

in my razor page, I am binding to the requestEnd function:

    $(document).ready(function () {
        var grid = $("#userGrid").data("kendoGrid").dataSource;
        grid.bind("requestEnd", function (e) {
            if (e.type == "create") {

                alert(e.successMessage);

            }


        });

    });

--> The event is firing, but I am not sure how to get my hands on the JSON object to display a "success message"?

Thanks!
sL342799
Top achievements
Rank 1
 answered on 24 Sep 2012
3 answers
982 views
When I copy a row using the Kendo Grid API, the new row is created.
However when i edit the parent row, the newly created row also gets the same data. 

How can I decouple these two rows?

Thanks
henry
Jark Monster
Top achievements
Rank 1
 answered on 24 Sep 2012
0 answers
214 views
With transport update url call, parameters are not sent to mvc3 controller on a grid update involving a multi select dropdownlist. does anyone know if this is a legitimate operation and/or how to correct?

the data source update: is as follows:
update: {
   // filter is a row in the grid
    url: function (filter) {
        alert(CommaDelimitedString);
        return '/path/UpdateData?ID=' + filter.ID
                + '&FilterName=' + filter.FilterName
                + &,AlertSource=' + SelectedAlertSources.replace(',', '|' )
                + '&Param4=' + Param4Arg
                + '&Param5=' + Param5Arg                                    },
                // other parameters are omitted for brevity 
    type: "POST"

fiddler shows the query string being passed as expected, but the controller only receives the values in the grid row. it is as if the datasource is ignoring the url: and substituting its own. the webform tab of fiddler shows just that with many more parameters involved in the post. it is actually taking the fields from the datasource and constructing its own query/post.....

is it possible for me to submit my own query string in the call to my controller? if so, how? i have experimented with the data: object but that has the same dismal results.....my url contains all of the parameters expected by the controller function.

the need for all of this rigmarole is that i do not know how to configure grid column to accept multiple selection values from the dropdownlist, so i construct a global string containing the values which i use as the argument to one of the url parameters.
tony
Top achievements
Rank 1
 asked on 24 Sep 2012
3 answers
83 views

Lets pretend this is the data:

MusicGenre  AgeGroup  TimesPlay

Rock             10-15              100
Rock              16-20             200
Classical        10-15               5
Classical         16-20              4

If I do not group the data and I plot it

1. Then Rock 16-20 is the biggest bubble (biggest)
2. Followed by Rock 10-15 (2nd biggest)
3. Classical 10-15 (tiny)
4. Classical 16-20 (tiny)

But I get the same color for each bubble

If I group by Genre

I want to have the same color for Rock and a different one for classical and that happens, but then the bubble size
is determined by items in the same group, not compared with the rest
So Classical 10-15 and 16-20 now are big
Classical 10-15 = 5 out of 9 instead of 5 out of 309
Classical 16-20 = 4 out of 9 instead of 4 out of 309

Both are rendered big, because the grouping is taking in consideration only items inside the group and not comparing with other groups

I want to group to have different colors, but then the purpose of the bubble chart gets defeated, because having similar sizes doesn't make an useful visualization.

Is this a bug or it is intended to work this way?

 

dataSource: {
  
transport: {
read: { 
 url: "@Url.Content("~/Music/GetData")",
 dataType: "json",
  data: { // This are the parameters
  genre: function() {
   return "All";
  }
}
}
}, 
group: { 
 field: "Genre" 
 }
},

Any help? Is there a way to have groups but the bubble sizes are based on all the items, not only on the ones inside the group?

Thanks

Iliana Dyankova
Telerik team
 answered on 24 Sep 2012
4 answers
609 views
Hello,

I have a grid that uses a datasource that calls read() on a timer, so it will continually/auto updated.  I want to highlight new rows added to my grid, which I should be able to do easily if there were a grid row added event, but there doesn't seem to be one.

Any suggestions on how I can go about accomplishing this?

Thanks!

Levi
Top achievements
Rank 1
 answered on 24 Sep 2012
1 answer
586 views
Hi,
I've found the docs for menu for mvc here 
http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/helpers/menu/overview 
but I can't find anything to show me how to use submenus. 

Can anyone point me to some?

thanks,
Stephen
Dimo
Telerik team
 answered on 24 Sep 2012
2 answers
196 views
Hello,

I have a question on your Kendo UI Web license agreement. We are planning on building an application and it will be sold to customers. We might develop our own widgets and also potentially change your standard widgets, if needed. If we do this, it is not clear to me what Telerik would own. For example, section 1.1.5.1 refers to this, but it is unclear to me what “modification” refers to. Does this just refer to a “modification” to the standard Kendo UI source code?  For example, what of the following would Telerik own?

- The application we build
- Widgets we develop on our own and include within our application
- Standard widgets we change and include within our application
- Other


Thanks

Apo
Telerik team
 answered on 24 Sep 2012
2 answers
187 views
How do I access the event associated with pressing the cancel button on inline editing?
Tony Sprague
Top achievements
Rank 1
 answered on 24 Sep 2012
1 answer
70 views
How Can I change the "Update" label for "Save" on the update button int the grid popup edition?
Iliana Dyankova
Telerik team
 answered on 24 Sep 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
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
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?