Design and CSS styles
Version 7.x > Design and CSS styles > grid stylesheet View modes: 
User avatar
Member
Member
Moin - 12/20/2012 12:31:25 AM
   
grid stylesheet
i have created custom table but now i need to set my own created skins or default css which kentico has provided

please tell me the procedure of setting style sheet for grid

regards
suchitra

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/20/2012 1:30:34 AM
   
RE:grid stylesheet
Hi,

What grid are you talking about? You mean the grid in the UI? If so, please see the UniGrid control documentation.

Best regards,
Juraj Ondrus

User avatar
Member
Member
Moin - 12/20/2012 6:32:43 AM
   
RE:grid stylesheet
Hi

I am having 2 types of issue while create and implementing Grid thru Kentico web part

1. not able to set default or own created style sheet for new custom table
2. not able to create filter for new custom table

can pls suggest me how to implement those point into my project

regards


User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/23/2012 2:43:24 AM
   
RE:grid stylesheet
Hi,

So, you mean the data grid web part? Have you tried using the content before and after properties? Could you please explain in more details what "not able" means? Are you getting errors, the styles are not reflected or you cannot add the styles at all?

Thank you.

Best regards,
Juraj Ondrus

User avatar
Kentico MVP
Kentico MVP
Brenden Kehren - 3/7/2013 7:30:11 AM
   
RE:grid stylesheet
Moin wrote:
1. not able to set default or own created style sheet for new custom table

Kentico, by default, renders CSS classes to many if not all of the default webparts. My suggestion is to render it to the page, view the page source and see what classes are assigned to the webpart. Then wrap the webpart in a <div> with an ID or specific class name to it so you can style it using the class names already provided.
Moin wrote:
2. not able to create filter for new custom table

Kentico has some pretty awesome hidden features although you need to read the documentation in order to find them. Check out this page for the documentation on creating filters for Custom Tables. One of the things to remember is if your custom table doesn't have more than a specific number of rows, the filter will not show up. The default is 25 records.

User avatar
Member
Member
sobrohewolt-gmail - 3/5/2013 1:27:05 AM
   
RE:grid stylesheet
I would like to learn more about css too. Still I am a learning about web designing and so far I have created some css styles just for small my own websites. But I would like to know how to use css style for major web sites.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/5/2013 10:33:03 AM
   
RE:grid stylesheet
Hi,

In this case I would recommend using e.g. W3 schools or just use Google and read the tutorials about the topics you are interested in.

Best regards,
Juraj Ondrus

User avatar
Member
Member
sobrohewolt-gmail - 3/11/2013 1:08:29 AM
   
RE:grid stylesheet
I do refer w3school also i follow some youtube vids as well. But i feel like it's not enough.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/11/2013 5:37:09 PM
   
RE:grid stylesheet
Hi,

Could you please describe your issue in more details and what exactly is causing your issue in Kentico CMS?

Thank you.

Best regards,
Juraj Ondrus