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

Inline editing Create - new row invisible until you click a cell

8 Answers 190 Views
Grid
This is a migrated thread and some comments may be shown as answers.
PAUL
Top achievements
Rank 1
PAUL asked on 01 Oct 2012, 05:49 PM
Hello I have a grid with inline editing set. The problem is when you click add new it adds a row but everything is invisible in that row until you click in one of the cells.

The demos I see online here don't work that way at all. You click add and it shows up like it should. Can anyone help me out on this one. I feel like it's right in front of me but don't see it and first thing customer said was hey how come I can't see the line when clicking new...

Any help is appreciated

Thanks

Paul

8 Answers, 1 is accepted

Sort by
0
Dan
Top achievements
Rank 1
answered on 02 Oct 2012, 09:33 PM
+1

The text box in a white row has no border - so it appears invisible.
0
PAUL
Top achievements
Rank 1
answered on 03 Oct 2012, 10:07 AM
No kidding...how do you make it have a border as in the demos Dan? Also that does not explain the fact that the columns that have a template for a combo or dropdown are invisible as well until you click on them.

Thanks for pointing out the obvious Dan. Appreciated.

-1
0
Accepted
Dan
Top achievements
Rank 1
answered on 03 Oct 2012, 03:02 PM
Take it easy, I wasn't offering a solution, I was agreeing with you - I'm having the same problem.  I don't know the answer, I was just adding more details.
0
PAUL
Top achievements
Rank 1
answered on 03 Oct 2012, 03:36 PM
No problem...with inline editing this is not an issue...just batch editing
0
Dan
Top achievements
Rank 1
answered on 03 Oct 2012, 04:25 PM
Well, I can't get it to work in inline editing either - or now I can't get it to look like the demo (or default theme).  Turns out there was a * selector in a referenced css file that had border set to none.  I removed that and now it looks like the standard 3D text box.  Somehow, the text-box and single-line classes are not being applied?  I will say, I have some (foreign key) drop down lists in my inline editing and those look exactly like the demo.

Edit:  Actually, I can't find the text-box and single-line classes anywhere in the kendo css files.  If I create my own, then it works - or it uses the styles I add to those classes.
0
Vladimir Iliev
Telerik team
answered on 04 Oct 2012, 01:36 PM
Hi Paul,

 

I tried to reproduce this issue locally with the provided information but to no avail – everything is working as expected on our side. Also if you create new KendoUI MVC project in the VisualStudio and add the Kendo Grid with Inline editing mode, it works exactly as shown in the demo.

Could you please provide an run-able project with the issue reproduced – hopefully they will help us pinpoint the exact reason for this behavior?

Kind Regards,
Vladimir Iliev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dan
Top achievements
Rank 1
answered on 04 Oct 2012, 08:55 PM
If I extract the \wrappers\aspnetmvc\Examples folder from your kendoui.aspnetmvc.2012.2.913.commercial.zip file, open the Kendo.Mvc.Examples.csproj in VS2010 (or VS2012), and immediately run it -- I get the same issue.  See the attached image.  It all works fine, only the textbox is not styled as in the demo.  Also, I'm not too worried about it anymore as I created my own "text-box" css class - using some of your k-textbox styling - so now it looks the same.

I would be interested to know if I'm missing something though.  Thanks!
0
Vladimir Iliev
Telerik team
answered on 09 Oct 2012, 01:08 PM
Hi Dan,

 
Please note that the string editor template do not add styles to the text input fields. If you need to add class to the text input, you should create your custom string editor template. 

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