473,657 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

height for Dojo grid 1.1

184 New Member
Hi All,
I have painted the dojo grid 1.1 with height of 20em as follows..
Expand|Select|Wrap|Line Numbers
  1.   # gridName
  2.   {
  3.     height:20em;
  4.    }
  5.  
The input for that grid is about 1000 records.so, number of records exceeds the height of grid and hence the vertical scroll bars got attached. if the number of records going to be less than height of grid .Then height of the grid should be adjusted and hence scroll bars should not diplayed.. Anyone pl say how to solve this problem.. Thanks in Advance.

Note: If i give as follows
Expand|Select|Wrap|Line Numbers
  1.   # gridName
  2.   {
  3.     height:auto;
  4.    }
  5.  
the scroll bars never got attached. but i dont want thats scenario...
Thanks in Advance..
Sep 18 '08 #1
3 2466
acoder
16,027 Recognized Expert Moderator MVP
Use the overflow property.
Sep 18 '08 #2
gaya3
184 New Member
Use the overflow property.

Thank u acoder.. It helped me alot
Sep 19 '08 #3
acoder
16,027 Recognized Expert Moderator MVP
You're welcome. Glad it did :)
Sep 19 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2282
by: ygjyothi | last post by:
Hi All, I'm trying to integrate Ext2.0 and Dojo 1.0 i.e the selected rows from a Ext 2.0 Grid upon a button click should generate a Dojo 1.0 Chart in a pop up window or Ext.window.There is a Ext 2.0 Grid which gets values from the database. When the user selects some rows and gives a request for Graphical view by clicking a Ext button or Ext handler, a Dojo 1.0 Chart must be generated for the selected rows in the Ext window (pop up window)....
7
6955
by: raknin | last post by:
Hi, Hi, Now that I am handle the way of use the dojo combobox I moving to the next stage. What I want to do is updating a second combobox automatically when a value is selected in the first combobox. I have a php that can handle the server side. Any suggestion how it can be done with dojo. I believe the code below can help other to start a dojo combobox. Please find my dojo code: <head>
3
1488
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
I have data that spans over several pages in a datagrid. On the last page, the row heights seem to justify vertically, so if there are say 14 records and the paging is ten, each row on the last page will take up a quarter of the grid height. Is there any way so that the row height will always be the same regardless of the height of the grid or the number of rows being displayed? --
2
2381
by: =?Utf-8?B?UGhpbCBKb2huc29u?= | last post by:
Hi, I have a gridview and I need it to display correctly in Opera. I need to set the row height, so that even on the last page of data all the rows are the same height as on the other pages. In IE and firefox, setting a height in the rowstyle of the gridview and not setting any height on the grid works really well... exactly what I need.
6
10145
by: gaya3 | last post by:
Hi all, can anyone pl say how to sort the particular column in dojo grids by default... For example.. If i'm having columns like... col1,col2,col3,col4,col5 in the grid.. "col3" should be displayed in descending order by default.. please help me out... Thanks in Advance...
3
3843
by: gaya3 | last post by:
Hi All, In Dojo Grid1.2,i have created the grid using QueryReadStore and Datagrid.How do i do the editable true in particular column...? If i use ItemFileStore I'm able to do edit for particular column... I tried as follows..it works fine var gridLayout = ; But when i tried to use "QueryReadStore" it doesnt work... I dont know the reason... can anyone please help me out?
3
8932
by: gaya3 | last post by:
How do i set autoHeight dynamically in dojo grid 1.1? please do help... Thanks in Advance
1
3968
by: kokababu | last post by:
I am trying to load dojo module from different domain; such as dojo.parser, dijit.form.TextBox etc. <html> <head> <script type="text/javascript"> djConfig = { isDebug: true, parseOnLoad: true, xdWaitSeconds: 10
1
3310
by: ashutoshjoshi10 | last post by:
Hi, I am using a Dijit.form.filteringSelect to display values using the dojox.data.QueryReadStore. But, after overriding _filterResponse() to format the data in a Dojo-parsable format, whatever value I select gets bypassed and the only value that gets selected is the the first one on the list. I am using the following code…please let me know if what I am missing here. Thanks much in advance! <html> <head> ...
0
8825
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7327
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6164
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.