Hello, I need a JavaScript that can be attached to an html table and allow the user to select a range of cells in the html table, similiar to how Microsoft Excel allows you to hold down the mouse and drag the mouse over the cell range you want to select. The basic flow is If mousedown on a td element then bSelecting = true On mousemove - if move over a cell then update the selection range. On mouseup - selectin is done - bSelecting = false On mousedown - clear the last selection range and start over The algorithm should be able to retrive the selected cells for further processing - This would be acomplished by adding each selected cell to a dictionary or other data structure and then removing it if the user deselects the cell while the user is selecting the cells. Other possible approach is adding an element attribute to each selected cell with something like [login to view URL]("selcted",true") and then returning all selected cells by retriving the td elements of the table and filering them based on this attribute. There is an example of what I want at [login to view URL] They have a javascript grid component called devgrid and they show an example of cell range selection - Note: I do not want a clone of their javascript - just use it as a functional guideline. Also I found a Internet Explorer behavior at [login to view URL] that can do cell range selection but it works with a pseudo tabl structutre composed of divs and spans and not a regular html table. Also the example there does not update the selection range in realtime as it does in Excel. Updating the visual selection range in real time is a requirement. The table structure this script should work with is as follows: etc. The supported browser can be IE 5 and higher. If you want to use specific dhtml for IE 6 please let me know. This might be okay.
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
Should run on Internet Explorer version 5+ or higher. Might be okay if script runs only on IE version 6. Future dhtml work might follow if this turns out good.
## Deadline information
Would like the work to be done by 8-30-2002.
<col /> <col />
| | |