This is a migrated thread and some comments may be shown as answers.

[Solved] Kendo Grid Disabling CSS Not working

1 Answer 276 Views
Grid
This is a migrated thread and some comments may be shown as answers.
crazy05
Top achievements
Rank 1
crazy05 asked on 18 Mar 2015, 01:23 PM
Hello,

n my parent page, I have a kendo Grid(grid 1), which contains two command buttons Submit and Delete.

Once the user clicks on Submit, I am showing Partial View(Contains Kendo Grid (grid 2) in Kendo Window. On Window Close, using Databound function, I am making the submit button hide and Showing the delete button. When I click on Delete button, The same partial view which contains Grid 2 shows up but the style which is working when I click submit button not working. Here is the Style I am applying for partial view kendo Grid(Grid 2) in document.ready function

 var grid = $("#Grid").data("kendoGrid");
                grid.hideColumn(6);               
                $("#Grid").removeClass("Style");            
                $("#Grid").height('107');
                $("#Grid").width('445');
          

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 20 Mar 2015, 10:02 AM
Hi Ram,

The provided information is not sufficient to determine the cause of the problem. Have you tried debugging the Javascript and inspecting the page HTML, so that you make sure the customizations are applied to the correct element? Can you verify that you are not creating multiple Grid instances with the same ID, e.g. on each Window opening?

Regards,
Dimo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
crazy05
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or