Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multi Column Listbox or DataGrid with scroll bar 1

Status
Not open for further replies.

raghu3

Programmer
Dec 19, 2005
96
US
I need the features of both list box and datagrid:
Scroll bar
Multi Column

The list is readOnly.
I need to build these lists on dynamically: onPostBack.

To start with the visible attribute will be false, and postback will build the list based on user selection and set the visible to true ?

 
The DataGrid can do all of that...


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
thanks cs8msm,
Pardon my ignorance, I read that there is paging on datagrid, did not see a scrollBar attribute.
 
Just apply the CSS "overflow: auto" method to a div tag (setting the relevant height and/or width) and place your DataGrid within it.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Thanks,
will try this.
appreciate your quick response ca8msm.
 
That works as sugggested:
I have a css file and added a custom class for this.

Now I need to do a lot of cosmetic changes for a nice look and feel.

You get a star!.
thanks again ca8msm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top