Jump to content
Sign in to follow this  
manojba

comman scrollbar for tables

Recommended Posts

Hi,

I have a table to display some numerical data I want to give user a column in same table to enter notes(i.e. alias column here) based on data retrieved.But the problem is as table is indicator user cannot edit it I mean he cannot enter any notes as needed.So now I am using two tables side by side one is indicator other is control but it looks odd with scroll bar in between and data cannot be matched as there are two scroll bars so is there a way to have common scroll bar for both tables plz reply soon thanks in advance...

Share this post


Link to post
Share on other sites

I would use a single control which will allow the user to enter data and give you a single scroll bar. If you want to protect the data in the other columns and make then read only you can place a custom string control (which you color as transparent) over the columns you do not want to be modified. You then disable this control and the user cannot edit the cells below it. However the exposed cells are still able to be modified.

Share this post


Link to post
Share on other sites

Another option would be to allow the user to enter a comment by using a pop up window when the user clicks on the comment column. Here is an example:

post-8228-1241583800.png?width=400

Share this post


Link to post
Share on other sites

QUOTE (Karissap @ May 6 2009, 09:54 AM)

Thanks Karissap this is what i was looking for ...But the problem is i cannot adopt this technique in my application because i already have a event structure i tried all possible ways of putting this technique into my code but its not working...I have a picture what my application looks like though this is not my real application but it is similar to this i.e. i have a event structure in one event i open tcp connection in second event i read and write and in third event i close tcp connection.In second event i display data in table were i need to do this.

Share this post


Link to post
Share on other sites

QUOTE (manojba @ May 6 2009, 04:59 AM)

Thanks Karissap this is what i was looking for ...But the problem is i cannot adopt this technique in my application because i already have a event structure i tried all possible ways of putting this technique into my code but its not working...I have a picture what my application looks like though this is not my real application but it is similar to this i.e. i have a event structure in one event i open tcp connection in second event i read and write and in third event i close tcp connection.In second event i display data in table were i need to do this.

I would like to make the table as a control, why not ? it can be written data also.

Share this post


Link to post
Share on other sites

QUOTE (Cool-LV @ May 7 2009, 07:32 AM)

I would like to make the table as a control, why not ? it can be written data also.

I think this was the simple solution for my problem...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.