You are here Support Forums
Search:  
grid CSS
Last Post 03 Jan 2005 01:38 PM by Kristin Induni. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Kristin Induni
New Member
New Member
Posts:8

--
03 Jan 2005 01:38 PM  

First off I want to say that this is one of the better free modules out there for DNN. It really helps me out alot.

Is there a way to control the grid display through css?

I have been trying different classes to turn the gridlines off without success.

Is this possible and do you have the example CSS to do such a thing?

Thanks

Richard Edwards
DNNStuff Founder
Veteran Member
Veteran Member
Posts:1207
Avatar

--
03 Jan 2005 05:42 PM  

 Hi Midspot, glad you like the module.

There is a way to change the grid lines for the module, but it's something that will apply to all instances of the grid for all portals that use the module. Unfortunately, you won't be able to do it on only one grid at a time.

What you'll need to do, is alter the SqlView.ascx file located in the /desktopmodules/dnnstuff - sqlview folder.

Change the line:

<asp:DataGrid id="gridView" Runat="server" Width="100%"> </asp:DataGrid>
to

<asp:DataGrid id="gridView" Runat="server" Width="100%" GridLines=None> </asp:DataGrid>

which will turn them off. The key here is the addition of the GridLines attribute. The value for GridLines can be None, Both, Horizontal or Vertical.

There may be another way to do this with CSS which would allow you to do it on a module by module basis but I haven't come across that yet. If I have some time I'll take a better look at the available CSS and suggest something.

Cheers

Richard

 



Richard Edwards
DNNStuff Founder
Did you receive excellent support? Consider leaving a testimonial
Kristin Induni
New Member
New Member
Posts:8

--
04 Jan 2005 09:31 AM  

this would be a great feature to add to a future release is a checkbox in the admin menu to select which lines to display...

Thanks

midspot

You are not authorized to post a reply.

Active Forums 4.1
Privacy StatementTerms Of UseCopyright (c) 2004-2012 DNNStuff