HighDots Forums  

best way to filter rows in real time

Javascript JavaScript language (comp.lang.javascript)


Discuss best way to filter rows in real time in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ipy2006
 
Posts: n/a

Default best way to filter rows in real time - 02-06-2008 , 09:53 AM






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
  #2  
Old   
GArlington
 
Posts: n/a

Default Re: best way to filter rows in real time - 02-06-2008 , 10:08 AM






On Feb 6, 2:53 pm, ipy2006 <ipyasa... (AT) gmail (DOT) com> wrote:
Quote:
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
  #3  
Old   
ipy2006
 
Posts: n/a

Default Re: best way to filter rows in real time - 02-06-2008 , 10:13 AM



On Feb 6, 10:08*am, GArlington <garling... (AT) tiscali (DOT) co.uk> wrote:
Quote:
On Feb 6, 2:53 pm, ipy2006 <ipyasa... (AT) gmail (DOT) com> 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
  #4  
Old   
GArlington
 
Posts: n/a

Default Re: best way to filter rows in real time - 02-06-2008 , 11:21 AM



On Feb 6, 3:13 pm, ipy2006 <ipyasa... (AT) gmail (DOT) com> wrote:
Quote:
On Feb 6, 10:08 am, GArlington <garling... (AT) tiscali (DOT) co.uk> wrote:

On Feb 6, 2:53 pm, ipy2006 <ipyasa... (AT) gmail (DOT) com> 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
  #5  
Old   
nolo contendere
 
Posts: n/a

Default Re: best way to filter rows in real time - 02-06-2008 , 01:22 PM



On Feb 6, 10:13*am, ipy2006 <ipyasa... (AT) gmail (DOT) com> wrote:
Quote:
On Feb 6, 10:08*am, GArlington <garling... (AT) tiscali (DOT) co.uk> wrote:

On Feb 6, 2:53 pm, ipy2006 <ipyasa... (AT) gmail (DOT) com> 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
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.