How to eliminate padding on cells of a query

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

How to eliminate padding on cells of a query

Post by tford »

Can anyone tell me if there is a way to eliminate the padding in the cells of a query, perhaps using Advanced "Initialization script" or "render script".
Tom - V8.8 build 3137 - MySql / PostGres
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: How to eliminate padding on cells of a query

Post by tford »

I did find a way to solve this particular issue with a Custom Query, but if anyone knows how to reduce padding for a standard query for future reference I'd still like to know.
Tom - V8.8 build 3137 - MySql / PostGres
Jaymer
Posts: 2456
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: How to eliminate padding on cells of a query

Post by Jaymer »

tom, you mean other than messing with CSS to do the usual tinkering?
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
johntalbott
Posts: 619
Joined: Wed Jun 17, 2015 11:16 pm
Location: Omaha, Nebraska
Contact:

Re: How to eliminate padding on cells of a query

Post by johntalbott »

Something like this, should work ...

In custom CSS file:
.k-grid-content > table > tbody > tr > td {
padding: 0px;
}

Or in Render Script:
$(".k-grid-content > table > tbody > tr > td").css("padding": "0px");
VocalDay Solutions - Agility - Predictability - Quality

We specialize in enabling business through the innovative use of technology.

AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
Post Reply