Telerik Forums
Kendo UI for jQuery Forum
1 answer
125 views
Hi. Before I spend days trying to figure this out, can somebody point me in the right direction?

Is it possible to perform validation on a grid (bound to remote data) that takes aggregate values into account?

For example, I have a grid that with columns for Monday through Sunday.  Each row can have a value for each day and there are aggregates for each day.

When adding a new row, I don't want the total for any day to exceed a set figure.

Is this possible, and if so, where do I start?

Thanks in advance.
 
Alexander Valchev
Telerik team
 answered on 03 May 2012
1 answer
152 views
I have the following jsFiddle project: http://jsfiddle.net/wCB5a/1/  of my failed attempt.

I'm trying to make a  legend item a hyperlink to navigate to a product page within our site.  Is there a way to make a Legend Item a hyperlink? If so how?
Iliana Dyankova
Telerik team
 answered on 03 May 2012
1 answer
112 views
What would be the recommended option from the following? A MVC form contains a number of grids some with checkboxes and some with the standard input elements. All of these form components should be validated together and submitted back to the server in one go. Would templates for the grids be possible and best? With templates I can specify the input element names such that collections are populated automatically by the MVC binder for my action method parameter object e.g. <input name="myobjectscollection" type="checkbox"/> Or would converting the entire form to json and sending that be the best way to go? I suspect there is not much difference if both are possible but I want to check if I've missed something.
Alex Gyoshev
Telerik team
 answered on 03 May 2012
1 answer
46 views
If I define my dropdown like this
<select id="rotation-combo" class="mycustomclass">
Then the resulting kendodropdown has "mycustomclass" applied to it's wrapper div

However, not the case with the combobox...and it should, really they're close to the same control (from a UI look\feel)

(**edit** it'd also be nice if that class could be applied to the dropdown animation container if possible, I'd like to style that easily and independently)
Georgi Krustev
Telerik team
 answered on 03 May 2012
4 answers
766 views
Hello sir,

detail of column data are large that's why my data content are not display complete it trunk at detail e.g Name Column inside Name is displaying like that vangashkumar mat...

any solution for that

Thanks in advance.
Rz 
Prashant
Top achievements
Rank 1
 answered on 03 May 2012
0 answers
69 views
Hi All,

I am facing one strange issue while using AutoComplete control within div.

This div I am parsing as below:
// Setup Modals
[code]
                    $('#b-add-domain').bind('click', function(event)
                    {
                        event.preventDefault();

                        var $editModalHTML = $('#add-domain-modal').html();

                        $(this).colorbox(
                        {
                            html:$editModalHTML,
                            width:'255',
                            maxHeight:'700',
                            opacity:'0.65',
                            transition:'fade',
                            onLoad: function(){
                                $('#cboxClose').remove(); // remove the close button
                            },
                            onComplete: function(){
                                // setup scripting for modal
                                $('select').kendoComboBox();

                                //$('#account_no1').kendoAutoComplete();

                                // cancel modal buttons
                                $('.cancel-modal').bind('click', function(event){
                                    event.preventDefault();
                                    $.colorbox.close();
                                });

                                alert($editModalHTML);
                            }


                        });
    [/code]                   
If I will keep my auto-complete control outside of this div then its working fine.

Please suggest solution for this.
Prashant
Top achievements
Rank 1
 asked on 03 May 2012
3 answers
55 views
2 grids where 1 grid is populated with remote data and it is editable. On editing the grid by either adding a new record or changing an existing I'd like to update the other grid automatically. Is this possible?

The scenario is where the 2nd grid's columns comprise the data in the first column of the first grid so any changes to the first grid need to be displayed in the second as soon as possible. I've tried a few things and come up with a boolean flag which gets set on edit of the first and then the 2nd gets refreshed if the user tries to edit it but this is far from intuitive.

Thanks
Matt
Rosen
Telerik team
 answered on 03 May 2012
3 answers
1.0K+ views

For the Application > Form Elements > Text type standard box how does one specify the empty text. This is the text that appears in a standard textbox when do data has been entered. See iOS Contacts application when adding a New Contact the First, Last, Company appear grayed in the first three boxes almost like a watermark. 

This improves the interface as it does not require us to set label text for each textbox and it looks closer to how the native iOS data entry forms work.
Arturo
Top achievements
Rank 1
 answered on 03 May 2012
4 answers
258 views
Hi,

I have a strange error with Kendo Grid. I have a model defined :

var allocationGridModel = new kendo.data.Model({
           id: "Symbol",
           fields: {
               IsCheckedForDelete: { type: "boolean" },
               AssetClassCode: { type: "string", editable: false, nullable:false },
               AssetClassColor: { type: "string", editable: false, nullable:false  },
               Symbol: { type: "string", editable: false, nullable:false  },
               SecurityDescription: { type: "string", editable: false, nullable:true  },
               TargetAllocation: { type: "number", editable: true, validation: { min: 0.01}, nullable:false  },
               DriftMin: { type: "number", editable: true, nullable:false  },
               DriftMax: { type: "number", editable: true , nullable:false },
               MinBuyWeight: { type: "number", editable: true, nullable:true  },
               MinBuyValue: { type: "number", editable: true , nullable:true },
               MinSellWeight: { type: "number", editable: true, nullable:true  },
               MinSellValue: { type: "number", editable: true , nullable:true },
               SellOrder: { type: "number", editable: true, nullable:false  },
               IsInFavorites: { type: "boolean", editable: false,nullable:true },
               Equivalences : {type : "string", editable:false,nullable:true }
           }
       });

I have a grid which uses this model. In the grid I have rowTemplates defined. What I observed is, if in one of the columns which is editable, I put a 0 value and after, if I try to re-edit the same cell afterwards the numeric text box in the grid cell is not rendered. In some cases a simple input is rendered in other cases the value 0 disappears and no control is displayed in the cell.

Here is the column definition for the marked column in the attached image:

{
          field: "MinBuyWeight",
          title: "Min Buy Weight",
          template: '<div style="text-align:right;">#= kendo.toString(MinBuyWeight,"0.00") # % OR</div>',
          width: "90px"
      }

Do you have any kind of ideas what am I doing wrong?

Thanks in advance!!

Gergo
Top achievements
Rank 1
 answered on 03 May 2012
8 answers
388 views
Both Kendo UI Mobile & jQuery Mobile are in beta stages. I would like to see a comparison matrix at the some point between the two. I am planning to build a mobile web app and it seems I will be choosing one from these two.
iggy
Top achievements
Rank 1
 answered on 02 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?