473,795 Members | 2,766 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to design selectable table

Dormilich
8,658 Recognized Expert Moderator Expert
well, I need some help for designing a table that's showing some DB results and it should be able to sort/select some of the values. (there's no problem in getting the data once I know which ones)

so, the (html) table structure is like (the columns to be sortable marked in bold)
Expand|Select|Wrap|Line Numbers
  1.  ID | Status | seller | price | category | description | date 
where "status", "seller" and "category" are a distinct set of values. and by sorting I want to show only the selected entries thereof (which can be done via <select> dropdown)

what I want is a good idea how to sort the "date" and "price" (both would be a range type) columns (currently I'm using a separate form for all values) and how to display it in a nice way.

one more thing, it would be nice if I could combine the queries (like getting all items seller A has in category M)

thanks in advance, Dormi
Jul 28 '09 #1
2 3328
DevInCode
55 New Member
as soon as I see you want a sort a table I immediately think of jquery and the table sorter plugin. Its marvelous. You might have to work the other features you want into it, but I think thats a good start.

http://tablesorter.com/docs/#Demo
Jul 31 '09 #2
Dormilich
8,658 Recognized Expert Moderator Expert
looks good but In don’t have a static table here. (the sorting needs to be done on the DB entries)
Aug 1 '09 #3

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

Similar topics

3
4440
by: Ruaidhri | last post by:
I want to store many different types of objects in a single table. I was thinking of using the name value pair approach to achieve this. Does anybody have any experience with a such a design? The table might look like this CREATE TABLE NV (pk int, type int, varchar(100), value varchar(100)) --Insert a manager - type = 1 INSERT INTO NV (pk, type, , val)
15
2144
by: kimi | last post by:
I have just started working on a project that is partially complete. It is an application that is using access to store test results. The test results are being stored in two Access 2000 databases. DB #1 = StudentDB DB #2 = TestResulstsDB Why are there 2 dbs? I do not know - but that is one of the tings that we will be changing. Combining all of the data into one database.
2
1818
by: John C | last post by:
I am trying to develop a access database version 2002 from scratch and I am a novice programmer and need much direction. I have been researching and studying about relational database design and normalization I am including the 9 tables and there fields that I have already developed. I have and I am not sure what to name the tables and I am thinking of making the incident # field the pimary key?? Can I put that in all the tables? I...
1
2421
by: E.U. | last post by:
Hi, I an using MS-Access in order to build a site. I have this item that can have upto 10 pictures (might have none) I want to design a dynamic table which has the ID of the item at the first cell (primary key) and then upto 10 cells of file names of the pictures. The problem is that I do not know in advance how much pictures will I have (since it depends of each item that is added)
2
5765
by: NowItsWhatever | last post by:
In query DESIGN view, how do I automatically "fit" the columns in the table/field grid to the lengths of the table and field names (including any functions applied to the fields). I am not talking about the query results. I am talking about sizing parts of the query DESIGN view, so that they are readable (long table and field names that get chopped off, long criteria specifications that get chopped off, ...), and saving the sizing so I...
4
2927
by: dgleeson3 | last post by:
Hello all I am creating a VB.Net distributed SQL server 2005 application. Each computer in the system has a database with a table of users and their telephone numbers. Each computer has a unique 4 digit identifying code. The central server runs an application which reads the database table on each computer.
0
1084
by: Jenno | last post by:
After adding 5 new fields to a table in a replicated design master database, Access is replacing the display of 2 fields with "system replication" fields. These 2 fields are prefixed with "Gen_", have a data type of Number and relate to two memo fields present in the table. If I query SELECT Master.* FROM Master; all the 5 new fields are shown, but they are replaced with the "Gen_" fields if selecting by field.
0
2470
by: jsimone | last post by:
This question is about DB2 table design and performance. We are using DB2 UDB Enterprise 8.2 on Linux. We have 6 tables in a parent-child (one-to-many) relationship with each other. Each child table having an FK up to its parent. This particular design is motivated by our domain model. A -> B -> C -> D -> E -> F There is some debate in our team about how best to accomplish this. Two approaches have been discussed.
2
2084
by: thiyaghuck | last post by:
Hi, I need to design a html dashboard in table exactly same as the attached image. Can someone help me. Regards, Thiyaghu CK
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10213
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
10163
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
10000
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...
1
7538
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
6780
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();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3722
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.