473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

how to design selectable table

Dormilich
8,658 Expert Mod 8TB
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 3313
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 Expert Mod 8TB
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
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? ...
15
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....
2
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...
1
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...
2
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...
4
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...
0
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_",...
0
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...
2
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...
0
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...
0
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...

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.