Hi Chinmay,
I used the <div> tag. But my web page also has a few text boxes & a few
lables before the data grid. So when I used the <div> tags & scrolled
vertically, the data grid scrolls up into the text boxes & labels. I want to
make only the grid vertically scrollable so that it doesnt move inside the
labels & text boxes on scrolling.
Any help is appreciated.
Thanks
"Chinmay" wrote:
> Put this code in the ASPX
> <div id="DGMainHolder" style="Z-INDEX: 1; OVERFLOW: scroll; WIDTH: 755px;
> POSITION: static; HEIGHT: 300px">Your DataGrid Code</div>
>
> "pmud" wrote:
>
> > Hi,
> >
> > I found out how to make only certain columns in data grid editabel. Its
> > simply a matter of going to the Property builder of the data grid --> columns
> > & there in Selected columns ...checking the Read only to true for the text
> > boxes which you dont want to be edited.
> >
> > Its as simple as that. But if you could please tell me how to use <frame >
> > tag on a data grid coz <frame > has a SRC property which is set to the web
> > page one wants to scroll. But to use it with a data grid? The web page in
> > which I have the data grid has another table & a button. When the user clicks
> > the button , based on user's input recorrds are displayed in data grid.
> >
> > I just want the <frame > tag on the data grid & not on the table. Or if
> > anyone has any other ideas to AVOID a lot of scrolling for the user coz my
> > DATA GRID has 21 COLUMNS.
> >
> > "pmud" wrote:
> >
> > > Hi Chinmay,
> > >
> > > How to cast only 2 cloumns which require editing coz I want to see all the
> > > columns & then with the click of a button, I am exporting this grid to EXcel.
> > > So i need to view all the columns when I click EDIT but only 2 columns should
> > > be displayed in EDIT mode to avoid scrolling.
> > >
> > > Do u think a data grid is appropriate or should I use some other control
> > > which avoids a lot of scrolling & also allows editing & updating the database
> > > fileds?
> > >
> > > "Chinmay" wrote:
> > >
> > > > For the first question, have you tried to hide the column? or only cast two
> > > > columns in which you require Editing?
> > > >
> > > > For the second question I will suggest using a <div> or <layer> or an
> > > > <iframe>,
> > > > it will make another scrollable window in ur main web page
> > > >
> > > > "pmud" wrote:
> > > >
> > > > > Hi,
> > > > > I have 2 questions:
> > > > >
> > > > > 1. I have an editable data grid with 21 columns. I need to edit only 2
> > > > > cloumns in this data grid. But when the grid is displayed in Edit mode, all
> > > > > the columns show long text boxes whichmakes the user to SCROLL a lot.
> > > > > I need only these 2 cloumns to be displayed in Edit mode. Is that possible &
> > > > > how?
> > > > >
> > > > > 2. Also, even when the data grid is not displayed in the edit mode, it
> > > > > causes a lot of scrolling. Is there some way to avoid this?
> > > > >
> > > > > --
> > > > > pmud
|