Jump to content

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...

Link to comment

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.

Link to comment

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.

Link to comment

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.

Link to comment

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

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