PHP Builder Forum IndexPHP Builder
free solutions for web developers
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in            Calendar



COMPUSORY UPGRADE!!! Request an upgrade NOW! 32+ Pre-installed Modifications! 3 Server Locations to choose from: USA, UK and JAPAN.

11th December 2012 - phpBB88: All servers are upgraded to run using SSD drive. Click Here to report problems!

Scroll Bar

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PHP Builder Forum Index -> PHP DataGrid {future features}
View previous topic :: View next topic  
Author Message
slanza
Newbie
Newbie


Joined: 22 Jan 2007
Posts: 8
:


Items

PostPosted: Tue Mar 06, 2007 11:07 am    Post subject: Scroll Bar Reply with quote

Hi,

I'm very happy with datagrid v.4

Is possible to include a vertical/horizontal scroll bar into datagrid margins?

Cheers.
Back to top
View user's profile Send private message
zewa666
Site Moderator
Site Moderator


Joined: 01 Feb 2007
Posts: 606
:


Items

PostPosted: Tue Mar 06, 2007 12:01 pm    Post subject: Reply with quote

i did this by doing following:

inside my CSS file i have something like this:

#anav {
width:98%;
height:65%;
overflow:auto; //SET EITHER TO AUTO OR SCROLL
text-align:center;
padding:12px;
}

and where I call my grid:

<div>
//DATAGRID IMPLEMENT SCRIPT//
</div>

Greetings
Zewa
Back to top
View user's profile Send private message Send e-mail Visit poster's website
slanza
Newbie
Newbie


Joined: 22 Jan 2007
Posts: 8
:


Items

PostPosted: Tue Mar 06, 2007 12:23 pm    Post subject: Scroll Bar Reply with quote

The Idea is to move records with a scrollbar. I mean, if I disable the footer or bottom paging, I need a scrollbar to move or go to the rest of records ...

Cheers,
Back to top
View user's profile Send private message
slanza
Newbie
Newbie


Joined: 22 Jan 2007
Posts: 8
:


Items

PostPosted: Tue Mar 06, 2007 12:30 pm    Post subject: Scroll Bar Reply with quote

Excuse me!
you have reason!!!

It's working. The only thing that I need to do is to show all records into datagrid and adjust the vertical scroll!!!.

Thanks a lot for your support.

Cheers,
Back to top
View user's profile Send private message
zewa666
Site Moderator
Site Moderator


Joined: 01 Feb 2007
Posts: 606
:


Items

PostPosted: Tue Mar 06, 2007 12:33 pm    Post subject: Reply with quote

yeah but that wouldn't be very useful because without paging you would need to load all entries at once to your datagrid...

this means if you have a great table with lot of entries it could last up to an enormous time to present them all.

@scroll
with the css you can do it too ... just show all and move up down with the browser native scrollbars ... but again ... its not very good to show all values at once

Greetings
Zewa
Back to top
View user's profile Send private message Send e-mail Visit poster's website
zewa666
Site Moderator
Site Moderator


Joined: 01 Feb 2007
Posts: 606
:


Items

PostPosted: Tue Mar 06, 2007 12:36 pm    Post subject: Re: Scroll Bar Reply with quote

slanza wrote:
Excuse me!
you have reason!!!


you mean "You are right" Smile

---

no need to excuse for something like this cause thats the purpose of this forum. Help and getting help.

Greetings
Zewa
Back to top
View user's profile Send private message Send e-mail Visit poster's website
airputihdingin
Newbie
Newbie


Joined: 14 Mar 2007
Posts: 3
:
Location: indonesia

Items

PostPosted: Fri Mar 23, 2007 9:37 am    Post subject: Reply with quote

zewa666 wrote:
i did this by doing following:

inside my CSS file i have something like this:

#anav {
width:98%;
height:65%;
overflow:auto; //SET EITHER TO AUTO OR SCROLL
text-align:center;
padding:12px;
}

and where I call my grid:

<div>
//DATAGRID IMPLEMENT SCRIPT//
</div>



zewa,

could u explain it as long as u can? i can't get it. (sorry..newbie Crying or Very sad)

thx 2 u...
Back to top
View user's profile Send private message Yahoo Messenger
zewa666
Site Moderator
Site Moderator


Joined: 01 Feb 2007
Posts: 606
:


Items

PostPosted: Fri Mar 23, 2007 11:07 am    Post subject: Reply with quote

well this text simply puts the datagrid inside a div container to make it a fix size and let you scroll it.

its used when you have a fully build up page and just want a part to be used by datagrid. not more and not less.

as said make just a PHP file and bind Datagrid to it. Link a CSS file to the PHP file. the css should contain this:

Code:

#anav {
width:98%;
height:65%;
overflow:auto; //SET EITHER TO AUTO OR SCROLL
text-align:center;
padding:12px;
}


anav is just a name from me ... you can define what ever you want.

in the PHP file where you bind the datagrid just write before this:


div id="anav"
// Write this inside <> because this Forum threats it as Code insertion and doesnt lets me write it the right way

Than here is your datagrid bind and after this make the end of the div

</div>

Greetings
Zewa
Back to top
View user's profile Send private message Send e-mail Visit poster's website
     
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PHP Builder Forum Index -> PHP DataGrid {future features} All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
PHP Builder topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group

FREE FORUM HOSTING by AtFreeForum. Terms of Service - Privacy Policy
FASHION ACCESSORIES - BLING BLING - LADIES WATCHES - KOREAN CHILDREN CLOTHING - ONLINE BARGAIN STORE - FASHION JEWELLERIES