Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > best way to filter rows in real time

Reply
Thread Tools

best way to filter rows in real time

 
 
ipy2006
Guest
Posts: n/a
 
      02-06-2008
I have about 15 columns and 300 or more rows on a web page. The first
column is ITEM ID. Each ITEM ID has some remarks history in the
database. I need to filter ITEM ID that have only certain "remark
type". The remarks are not diplayed in any of the 15 columns or 300
rows. What do you think is the best way to handle this. I use Java
Servlets in the application.
Thanks,
-yip
 
Reply With Quote
 
 
 
 
GArlington
Guest
Posts: n/a
 
      02-06-2008
On Feb 6, 2:53 pm, ipy2006 <(E-Mail Removed)> wrote:
> I have about 15 columns and 300 or more rows on a web page. The first
> column is ITEM ID. Each ITEM ID has some remarks history in the
> database. I need to filter ITEM ID that have only certain "remark
> type". The remarks are not diplayed in any of the 15 columns or 300
> rows. What do you think is the best way to handle this. I use Java
> Servlets in the application.
> Thanks,
> -yip


It has NOTHING to do with javascript.
You have to pass selection/filter params to your "Java Servlets"...
 
Reply With Quote
 
 
 
 
ipy2006
Guest
Posts: n/a
 
      02-06-2008
On Feb 6, 10:08*am, GArlington <(E-Mail Removed)> wrote:
> On Feb 6, 2:53 pm, ipy2006 <(E-Mail Removed)> wrote:
>
> > I have about 15 columns and 300 or more rows on a web page. The first
> > column is ITEM ID. Each ITEM ID has some remarks history in the
> > database. I need to filter ITEM ID that have only certain "remark
> > type". The remarks are not diplayed in any of the 15 columns or 300
> > rows. What do you think is the best way to handle this. I use Java
> > Servlets in the application.
> > Thanks,
> > -yip

>
> It has NOTHING to do with javascript.
> You have to pass selection/filter params to your "Java Servlets"...


I understand. But I want to use Javascript to speed up the process if
possible. You know client side computing, AJAX etc.

Thanks,
-yip
 
Reply With Quote
 
GArlington
Guest
Posts: n/a
 
      02-06-2008
On Feb 6, 3:13 pm, ipy2006 <(E-Mail Removed)> wrote:
> On Feb 6, 10:08 am, GArlington <(E-Mail Removed)> wrote:
>
> > On Feb 6, 2:53 pm, ipy2006 <(E-Mail Removed)> wrote:

>
> > > I have about 15 columns and 300 or more rows on a web page. The first
> > > column is ITEM ID. Each ITEM ID has some remarks history in the
> > > database. I need to filter ITEM ID that have only certain "remark
> > > type". The remarks are not diplayed in any of the 15 columns or 300
> > > rows. What do you think is the best way to handle this. I use Java
> > > Servlets in the application.
> > > Thanks,
> > > -yip

>
> > It has NOTHING to do with javascript.
> > You have to pass selection/filter params to your "Java Servlets"...

>
> I understand. But I want to use Javascript to speed up the process if
> possible. You know client side computing, AJAX etc.
>
> Thanks,
> -yip


You CAN NOT process on client side something that you DO NOT pass to
the client...
 
Reply With Quote
 
nolo contendere
Guest
Posts: n/a
 
      02-06-2008
On Feb 6, 10:13*am, ipy2006 <(E-Mail Removed)> wrote:
> On Feb 6, 10:08*am, GArlington <(E-Mail Removed)> wrote:
>
> > On Feb 6, 2:53 pm, ipy2006 <(E-Mail Removed)> wrote:

>
> > > I have about 15 columns and 300 or more rows on a web page. The first
> > > column is ITEM ID. Each ITEM ID has some remarks history in the
> > > database. I need to filter ITEM ID that have only certain "remark
> > > type". The remarks are not diplayed in any of the 15 columns or 300
> > > rows. What do you think is the best way to handle this. I use Java
> > > Servlets in the application.
> > > Thanks,
> > > -yip

>
> > It has NOTHING to do with javascript.
> > You have to pass selection/filter params to your "Java Servlets"...

>
> I understand. But I want to use Javascript to speed up the process if
> possible. You know client side computing, AJAX etc.
>


Generally, the best way to speed up processing with regard to
filtering is: filter as upstream as possible. This will save time on
all downstream processes. It's extra work to have to send the whole
result set over the network, just to have the client do the filtering.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is time.time() < time.time() always true? flamesrock Python 8 11-24-2006 06:51 AM
Best way to process table rows from an RDBMS dananrg@yahoo.com Python 1 04-07-2006 12:45 PM
script for moving rows up and down and traverse thru rows of HTML table Subba Rao via DotNetMonster.com ASP .Net 0 03-19-2005 06:46 AM
Best way to hide table rows? John Dalberg HTML 9 11-02-2004 05:49 PM
best way to count the number of rows in a multidimensional array Gunnar Hjalmarsson Perl Misc 8 06-10-2004 07:31 PM



Advertisments