473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Rendering a datagrid as many subgrids?

Hi,

I have an asp.net application where I calculate things and show the result
in a datagrid object. The grid needs 21 columns to show all information
needed for persons to understand the whole picture. This in turn gets me into
BIG trouble.

To show a grid with 21 columns and at least 10 pixels text demands a monitor
with at least 1600 * 1200 resolution. Most of my customers have 1024 * 768
resolution, they claime if the had to go further up, they wouldn't sse
anything on the screen. Too small.

So if I could divide the 21 colum grid into two 11 column grids it would be
the ultimate challenge for me, it would resolve all my problems.

Because we don't have much space here I'd like to give you a very tiny
example:

M col1 col2 col3 col4 col5 col6
1 item 1.1 item 1.2 item 1.3 item 1.4 item 1.5 item 1.6
1 item 2.1 item 2.2 item 2.3 item 2.4 item 2.5 item 2.6
2 item 3.1 item 3.2 item 3.3 item 3.4 item 3.5 item 3.6

The above replace the 21 column grid
Depending on the value in col "M" I'd like the grid to render in the
following

M col1 col2 col3
1 item 1.1 item 1.2 item 1.3
1 item 2.1 item 2.2 item 2.3
col 4 col 5 col 6
2 item 3.1 item 3.2 item 3.3

The above replace the 11 grid when M=1 and when M=2
and this guarantees that an enduser can see everything on his monitor in
1024 * 768 resolution, not to mention a paper report, that on a standing A4
would require 6 pixel text on a landscape and I don't think it would fit with
6 pixels on one page.

I've tried to solve this by doing some drill down thinking after I read an
asp.net article with code where this worked out just nice, the only problem
was it showed related info from another table, as it should.

So, dear readers of this thread. Any suggestions on how to solve this problem?

I've made a test application just for you, dear readers, on one of my
testsites with my failure drill down report. There you can see how a real
life example with substituted column names shows the problem in a nutshell.
Feel free to ask questions about it.

Put this link into your URL
http://www.surf2us.net/tests/dgrd/testdd.aspx

Regards,
Kenneth P

Nov 19 '05 #1
7 1275
Kenneth,

I think 21 column for a grid is too much even if you split it into several
rows. Would you consider a solution when you have a grid with just few most
important column and provide a panel where you would show all record fields
in a convenient form-style way? When you click a grid row, the panel is
populated with the row data. Now, you can do everything on client side if
you make the grid to have all record data as invisible columns and write
some javascripts that will transfer the columns content to the detail panel
in the grid's onclick event.

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:71**********************************@microsof t.com...
Hi,

I have an asp.net application where I calculate things and show the result
in a datagrid object. The grid needs 21 columns to show all information
needed for persons to understand the whole picture. This in turn gets me into BIG trouble.

To show a grid with 21 columns and at least 10 pixels text demands a monitor with at least 1600 * 1200 resolution. Most of my customers have 1024 * 768
resolution, they claime if the had to go further up, they wouldn't sse
anything on the screen. Too small.

So if I could divide the 21 colum grid into two 11 column grids it would be the ultimate challenge for me, it would resolve all my problems.

Because we don't have much space here I'd like to give you a very tiny
example:

M col1 col2 col3 col4 col5 col6
1 item 1.1 item 1.2 item 1.3 item 1.4 item 1.5 item 1.6
1 item 2.1 item 2.2 item 2.3 item 2.4 item 2.5 item 2.6
2 item 3.1 item 3.2 item 3.3 item 3.4 item 3.5 item 3.6

The above replace the 21 column grid
Depending on the value in col "M" I'd like the grid to render in the
following

M col1 col2 col3
1 item 1.1 item 1.2 item 1.3
1 item 2.1 item 2.2 item 2.3
col 4 col 5 col 6
2 item 3.1 item 3.2 item 3.3

The above replace the 11 grid when M=1 and when M=2
and this guarantees that an enduser can see everything on his monitor in
1024 * 768 resolution, not to mention a paper report, that on a standing A4 would require 6 pixel text on a landscape and I don't think it would fit with 6 pixels on one page.

I've tried to solve this by doing some drill down thinking after I read an
asp.net article with code where this worked out just nice, the only problem was it showed related info from another table, as it should.

So, dear readers of this thread. Any suggestions on how to solve this problem?
I've made a test application just for you, dear readers, on one of my
testsites with my failure drill down report. There you can see how a real
life example with substituted column names shows the problem in a nutshell. Feel free to ask questions about it.

Put this link into your URL
http://www.surf2us.net/tests/dgrd/testdd.aspx

Regards,
Kenneth P

Nov 19 '05 #2
Hi Eliyahu,

I'm intrerested in any solution that satisfies my clients, I've set up that
they need 21 columns but they migth not want it, I've not asked them yet, I'm
looking for solutions.

You can develop your thougts further on and let me see more exactly what you
have in mind.

Did you take a look at the link I suggested?

Anyway I saw some errors in my second testgrid. It should have been:

M col1 col2 col3
1 item 1.1 item 1.2 item 1.3
1 item 2.1 item 2.2 item 2.3
col 4 col 5 col 6
2 item 3.4 item 3.5 item 3.6

Regards,
Kenneth P

"Eliyahu Goldin" wrote:
Kenneth,

I think 21 column for a grid is too much even if you split it into several
rows. Would you consider a solution when you have a grid with just few most
important column and provide a panel where you would show all record fields
in a convenient form-style way? When you click a grid row, the panel is
populated with the row data. Now, you can do everything on client side if
you make the grid to have all record data as invisible columns and write
some javascripts that will transfer the columns content to the detail panel
in the grid's onclick event.

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:71**********************************@microsof t.com...
Hi,

I have an asp.net application where I calculate things and show the result
in a datagrid object. The grid needs 21 columns to show all information
needed for persons to understand the whole picture. This in turn gets me

into
BIG trouble.

To show a grid with 21 columns and at least 10 pixels text demands a

monitor
with at least 1600 * 1200 resolution. Most of my customers have 1024 * 768
resolution, they claime if the had to go further up, they wouldn't sse
anything on the screen. Too small.

So if I could divide the 21 colum grid into two 11 column grids it would

be
the ultimate challenge for me, it would resolve all my problems.

Because we don't have much space here I'd like to give you a very tiny
example:

M col1 col2 col3 col4 col5 col6
1 item 1.1 item 1.2 item 1.3 item 1.4 item 1.5 item 1.6
1 item 2.1 item 2.2 item 2.3 item 2.4 item 2.5 item 2.6
2 item 3.1 item 3.2 item 3.3 item 3.4 item 3.5 item 3.6

The above replace the 21 column grid
Depending on the value in col "M" I'd like the grid to render in the
following

M col1 col2 col3
1 item 1.1 item 1.2 item 1.3
1 item 2.1 item 2.2 item 2.3
col 4 col 5 col 6
2 item 3.1 item 3.2 item 3.3

The above replace the 11 grid when M=1 and when M=2
and this guarantees that an enduser can see everything on his monitor in
1024 * 768 resolution, not to mention a paper report, that on a standing

A4
would require 6 pixel text on a landscape and I don't think it would fit

with
6 pixels on one page.

I've tried to solve this by doing some drill down thinking after I read an
asp.net article with code where this worked out just nice, the only

problem
was it showed related info from another table, as it should.

So, dear readers of this thread. Any suggestions on how to solve this

problem?

I've made a test application just for you, dear readers, on one of my
testsites with my failure drill down report. There you can see how a real
life example with substituted column names shows the problem in a

nutshell.
Feel free to ask questions about it.

Put this link into your URL
http://www.surf2us.net/tests/dgrd/testdd.aspx

Regards,
Kenneth P


Nov 19 '05 #3
Hi again,

Where did you attach the screenshot?

Kenneth

"Eliyahu Goldin" wrote:
Hi Kenneth,

I've attached a screenshot of a grid with details.

I looked at the link. It doesn't look very readable. Unless you have users
with very specific requirements to have all data in one or two rows,

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:4E**********************************@microsof t.com...
Hi Eliyahu,

I'm intrerested in any solution that satisfies my clients, I've set up

that
they need 21 columns but they migth not want it, I've not asked them yet,

I'm
looking for solutions.

You can develop your thougts further on and let me see more exactly what

you
have in mind.

Did you take a look at the link I suggested?

Anyway I saw some errors in my second testgrid. It should have been:

M col1 col2 col3
1 item 1.1 item 1.2 item 1.3
1 item 2.1 item 2.2 item 2.3
col 4 col 5 col 6
2 item 3.4 item 3.5 item 3.6

Regards,
Kenneth P

"Eliyahu Goldin" wrote:
Kenneth,

I think 21 column for a grid is too much even if you split it into several rows. Would you consider a solution when you have a grid with just few most important column and provide a panel where you would show all record fields in a convenient form-style way? When you click a grid row, the panel is
populated with the row data. Now, you can do everything on client side if you make the grid to have all record data as invisible columns and write
some javascripts that will transfer the columns content to the detail panel in the grid's onclick event.

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:71**********************************@microsof t.com...
> Hi,
>
> I have an asp.net application where I calculate things and show the result > in a datagrid object. The grid needs 21 columns to show all information > needed for persons to understand the whole picture. This in turn gets me into
> BIG trouble.
>
> To show a grid with 21 columns and at least 10 pixels text demands a
monitor
> with at least 1600 * 1200 resolution. Most of my customers have 1024 * 768 > resolution, they claime if the had to go further up, they wouldn't sse
> anything on the screen. Too small.
>
> So if I could divide the 21 colum grid into two 11 column grids it would be
> the ultimate challenge for me, it would resolve all my problems.
>
> Because we don't have much space here I'd like to give you a very tiny
> example:
>
> M col1 col2 col3 col4 col5 col6
> 1 item 1.1 item 1.2 item 1.3 item 1.4 item 1.5 item 1.6
> 1 item 2.1 item 2.2 item 2.3 item 2.4 item 2.5 item 2.6
> 2 item 3.1 item 3.2 item 3.3 item 3.4 item 3.5 item 3.6
>
> The above replace the 21 column grid
> Depending on the value in col "M" I'd like the grid to render in the
> following
>
> M col1 col2 col3
> 1 item 1.1 item 1.2 item 1.3
> 1 item 2.1 item 2.2 item 2.3
> col 4 col 5 col 6
> 2 item 3.1 item 3.2 item 3.3
>
> The above replace the 11 grid when M=1 and when M=2
> and this guarantees that an enduser can see everything on his monitor in > 1024 * 768 resolution, not to mention a paper report, that on a standing A4
> would require 6 pixel text on a landscape and I don't think it would fit with
> 6 pixels on one page.
>
> I've tried to solve this by doing some drill down thinking after I read an > asp.net article with code where this worked out just nice, the only
problem
> was it showed related info from another table, as it should.
>
> So, dear readers of this thread. Any suggestions on how to solve this
problem?
>
> I've made a test application just for you, dear readers, on one of my
> testsites with my failure drill down report. There you can see how a real > life example with substituted column names shows the problem in a
nutshell.
> Feel free to ask questions about it.
>
> Put this link into your URL
> http://www.surf2us.net/tests/dgrd/testdd.aspx
>
> Regards,
> Kenneth P
>


Nov 19 '05 #4
My OutlookExpress shows an attachment attached to my previous post. Do you
want me to email it to you? To what address?

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi again,

Where did you attach the screenshot?

Kenneth

"Eliyahu Goldin" wrote:
Hi Kenneth,

I've attached a screenshot of a grid with details.

I looked at the link. It doesn't look very readable. Unless you have users with very specific requirements to have all data in one or two rows,

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:4E**********************************@microsof t.com...
Hi Eliyahu,

I'm intrerested in any solution that satisfies my clients, I've set up

that
they need 21 columns but they migth not want it, I've not asked them yet,
I'm
looking for solutions.

You can develop your thougts further on and let me see more exactly
what you
have in mind.

Did you take a look at the link I suggested?

Anyway I saw some errors in my second testgrid. It should have been:

M col1 col2 col3
1 item 1.1 item 1.2 item 1.3
1 item 2.1 item 2.2 item 2.3
col 4 col 5 col 6
2 item 3.4 item 3.5 item 3.6

Regards,
Kenneth P

"Eliyahu Goldin" wrote:

> Kenneth,
>
> I think 21 column for a grid is too much even if you split it into

several
> rows. Would you consider a solution when you have a grid with just
few most
> important column and provide a panel where you would show all record

fields
> in a convenient form-style way? When you click a grid row, the panel
is > populated with the row data. Now, you can do everything on client side if
> you make the grid to have all record data as invisible columns and
write > some javascripts that will transfer the columns content to the detail panel
> in the grid's onclick event.
>
> Eliyahu
>
> "Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
> news:71**********************************@microsof t.com...
> > Hi,
> >
> > I have an asp.net application where I calculate things and show
the result
> > in a datagrid object. The grid needs 21 columns to show all

information
> > needed for persons to understand the whole picture. This in turn
gets me
> into
> > BIG trouble.
> >
> > To show a grid with 21 columns and at least 10 pixels text demands
a > monitor
> > with at least 1600 * 1200 resolution. Most of my customers have 1024 * 768
> > resolution, they claime if the had to go further up, they wouldn't
sse > > anything on the screen. Too small.
> >
> > So if I could divide the 21 colum grid into two 11 column grids it

would
> be
> > the ultimate challenge for me, it would resolve all my problems.
> >
> > Because we don't have much space here I'd like to give you a very tiny > > example:
> >
> > M col1 col2 col3 col4 col5 col6 > > 1 item 1.1 item 1.2 item 1.3 item 1.4 item 1.5 item 1.6
> > 1 item 2.1 item 2.2 item 2.3 item 2.4 item 2.5 item 2.6
> > 2 item 3.1 item 3.2 item 3.3 item 3.4 item 3.5 item 3.6
> >
> > The above replace the 21 column grid
> > Depending on the value in col "M" I'd like the grid to render in the > > following
> >
> > M col1 col2 col3
> > 1 item 1.1 item 1.2 item 1.3
> > 1 item 2.1 item 2.2 item 2.3
> > col 4 col 5 col 6
> > 2 item 3.1 item 3.2 item 3.3
> >
> > The above replace the 11 grid when M=1 and when M=2
> > and this guarantees that an enduser can see everything on his monitor in
> > 1024 * 768 resolution, not to mention a paper report, that on a

standing
> A4
> > would require 6 pixel text on a landscape and I don't think it
would fit
> with
> > 6 pixels on one page.
> >
> > I've tried to solve this by doing some drill down thinking after I

read an
> > asp.net article with code where this worked out just nice, the
only > problem
> > was it showed related info from another table, as it should.
> >
> > So, dear readers of this thread. Any suggestions on how to solve this > problem?
> >
> > I've made a test application just for you, dear readers, on one of my > > testsites with my failure drill down report. There you can see how

a real
> > life example with substituted column names shows the problem in a
> nutshell.
> > Feel free to ask questions about it.
> >
> > Put this link into your URL
> > http://www.surf2us.net/tests/dgrd/testdd.aspx
> >
> > Regards,
> > Kenneth P
> >
>
>
>


Nov 19 '05 #5
Hi again,

Yeah, why not?

You'll get one of my e-mail addresses, not the one I use at home, because of
security reasons.

ke***********@sverige.nu

Regards,
Kenneth P

"Eliyahu Goldin" wrote:
My OutlookExpress shows an attachment attached to my previous post. Do you
want me to email it to you? To what address?

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi again,

Where did you attach the screenshot?

Kenneth

"Eliyahu Goldin" wrote:
Hi Kenneth,

I've attached a screenshot of a grid with details.

I looked at the link. It doesn't look very readable. Unless you have users with very specific requirements to have all data in one or two rows,

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:4E**********************************@microsof t.com...
> Hi Eliyahu,
>
> I'm intrerested in any solution that satisfies my clients, I've set up
that
> they need 21 columns but they migth not want it, I've not asked them yet, I'm
> looking for solutions.
>
> You can develop your thougts further on and let me see more exactly what you
> have in mind.
>
> Did you take a look at the link I suggested?
>
> Anyway I saw some errors in my second testgrid. It should have been:
>
> M col1 col2 col3
> 1 item 1.1 item 1.2 item 1.3
> 1 item 2.1 item 2.2 item 2.3
> col 4 col 5 col 6
> 2 item 3.4 item 3.5 item 3.6
>
> Regards,
> Kenneth P
>
> "Eliyahu Goldin" wrote:
>
> > Kenneth,
> >
> > I think 21 column for a grid is too much even if you split it into
several
> > rows. Would you consider a solution when you have a grid with just few most
> > important column and provide a panel where you would show all record
fields
> > in a convenient form-style way? When you click a grid row, the panel is > > populated with the row data. Now, you can do everything on client side if
> > you make the grid to have all record data as invisible columns and write > > some javascripts that will transfer the columns content to the detail panel
> > in the grid's onclick event.
> >
> > Eliyahu
> >
> > "Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
> > news:71**********************************@microsof t.com...
> > > Hi,
> > >
> > > I have an asp.net application where I calculate things and show the result
> > > in a datagrid object. The grid needs 21 columns to show all
information
> > > needed for persons to understand the whole picture. This in turn gets me
> > into
> > > BIG trouble.
> > >
> > > To show a grid with 21 columns and at least 10 pixels text demands a > > monitor
> > > with at least 1600 * 1200 resolution. Most of my customers have 1024 * 768
> > > resolution, they claime if the had to go further up, they wouldn't sse > > > anything on the screen. Too small.
> > >
> > > So if I could divide the 21 colum grid into two 11 column grids it
would
> > be
> > > the ultimate challenge for me, it would resolve all my problems.
> > >
> > > Because we don't have much space here I'd like to give you a very tiny > > > example:
> > >
> > > M col1 col2 col3 col4 col5 col6 > > > 1 item 1.1 item 1.2 item 1.3 item 1.4 item 1.5 item 1.6
> > > 1 item 2.1 item 2.2 item 2.3 item 2.4 item 2.5 item 2.6
> > > 2 item 3.1 item 3.2 item 3.3 item 3.4 item 3.5 item 3.6
> > >
> > > The above replace the 21 column grid
> > > Depending on the value in col "M" I'd like the grid to render in the > > > following
> > >
> > > M col1 col2 col3
> > > 1 item 1.1 item 1.2 item 1.3
> > > 1 item 2.1 item 2.2 item 2.3
> > > col 4 col 5 col 6
> > > 2 item 3.1 item 3.2 item 3.3
> > >
> > > The above replace the 11 grid when M=1 and when M=2
> > > and this guarantees that an enduser can see everything on his monitor in
> > > 1024 * 768 resolution, not to mention a paper report, that on a
standing
> > A4
> > > would require 6 pixel text on a landscape and I don't think it would fit
> > with
> > > 6 pixels on one page.
> > >
> > > I've tried to solve this by doing some drill down thinking after I
read an
> > > asp.net article with code where this worked out just nice, the only > > problem
> > > was it showed related info from another table, as it should.
> > >
> > > So, dear readers of this thread. Any suggestions on how to solve this > > problem?
> > >
> > > I've made a test application just for you, dear readers, on one of my > > > testsites with my failure drill down report. There you can see how a real
> > > life example with substituted column names shows the problem in a
> > nutshell.
> > > Feel free to ask questions about it.
> > >
> > > Put this link into your URL
> > > http://www.surf2us.net/tests/dgrd/testdd.aspx
> > >
> > > Regards,
> > > Kenneth P
> > >
> >
> >
> >


Nov 19 '05 #6
Hi again,

Hmmm.... looks interesting.

Why didn't I think of this solution? Clicking on a datarow in a datagrid to
get the details and present them on a Panel ctrl with subctrls.

Tell me more about it! I've seen it earlier but can't remember where.

This is good for having a very few columns in a grid and showing the details
on another area. How did you think of reporting to the printer?

Regards,
Kenneth P

"Eliyahu Goldin" wrote:
My OutlookExpress shows an attachment attached to my previous post. Do you
want me to email it to you? To what address?

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi again,

Where did you attach the screenshot?

Kenneth

"Eliyahu Goldin" wrote:
Hi Kenneth,

I've attached a screenshot of a grid with details.

I looked at the link. It doesn't look very readable. Unless you have users with very specific requirements to have all data in one or two rows,

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:4E**********************************@microsof t.com...
> Hi Eliyahu,
>
> I'm intrerested in any solution that satisfies my clients, I've set up
that
> they need 21 columns but they migth not want it, I've not asked them yet, I'm
> looking for solutions.
>
> You can develop your thougts further on and let me see more exactly what you
> have in mind.
>
> Did you take a look at the link I suggested?
>
> Anyway I saw some errors in my second testgrid. It should have been:
>
> M col1 col2 col3
> 1 item 1.1 item 1.2 item 1.3
> 1 item 2.1 item 2.2 item 2.3
> col 4 col 5 col 6
> 2 item 3.4 item 3.5 item 3.6
>
> Regards,
> Kenneth P
>
> "Eliyahu Goldin" wrote:
>
> > Kenneth,
> >
> > I think 21 column for a grid is too much even if you split it into
several
> > rows. Would you consider a solution when you have a grid with just few most
> > important column and provide a panel where you would show all record
fields
> > in a convenient form-style way? When you click a grid row, the panel is > > populated with the row data. Now, you can do everything on client side if
> > you make the grid to have all record data as invisible columns and write > > some javascripts that will transfer the columns content to the detail panel
> > in the grid's onclick event.
> >
> > Eliyahu
> >
> > "Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
> > news:71**********************************@microsof t.com...
> > > Hi,
> > >
> > > I have an asp.net application where I calculate things and show the result
> > > in a datagrid object. The grid needs 21 columns to show all
information
> > > needed for persons to understand the whole picture. This in turn gets me
> > into
> > > BIG trouble.
> > >
> > > To show a grid with 21 columns and at least 10 pixels text demands a > > monitor
> > > with at least 1600 * 1200 resolution. Most of my customers have 1024 * 768
> > > resolution, they claime if the had to go further up, they wouldn't sse > > > anything on the screen. Too small.
> > >
> > > So if I could divide the 21 colum grid into two 11 column grids it
would
> > be
> > > the ultimate challenge for me, it would resolve all my problems.
> > >
> > > Because we don't have much space here I'd like to give you a very tiny > > > example:
> > >
> > > M col1 col2 col3 col4 col5 col6 > > > 1 item 1.1 item 1.2 item 1.3 item 1.4 item 1.5 item 1.6
> > > 1 item 2.1 item 2.2 item 2.3 item 2.4 item 2.5 item 2.6
> > > 2 item 3.1 item 3.2 item 3.3 item 3.4 item 3.5 item 3.6
> > >
> > > The above replace the 21 column grid
> > > Depending on the value in col "M" I'd like the grid to render in the > > > following
> > >
> > > M col1 col2 col3
> > > 1 item 1.1 item 1.2 item 1.3
> > > 1 item 2.1 item 2.2 item 2.3
> > > col 4 col 5 col 6
> > > 2 item 3.1 item 3.2 item 3.3
> > >
> > > The above replace the 11 grid when M=1 and when M=2
> > > and this guarantees that an enduser can see everything on his monitor in
> > > 1024 * 768 resolution, not to mention a paper report, that on a
standing
> > A4
> > > would require 6 pixel text on a landscape and I don't think it would fit
> > with
> > > 6 pixels on one page.
> > >
> > > I've tried to solve this by doing some drill down thinking after I
read an
> > > asp.net article with code where this worked out just nice, the only > > problem
> > > was it showed related info from another table, as it should.
> > >
> > > So, dear readers of this thread. Any suggestions on how to solve this > > problem?
> > >
> > > I've made a test application just for you, dear readers, on one of my > > > testsites with my failure drill down report. There you can see how a real
> > > life example with substituted column names shows the problem in a
> > nutshell.
> > > Feel free to ask questions about it.
> > >
> > > Put this link into your URL
> > > http://www.surf2us.net/tests/dgrd/testdd.aspx
> > >
> > > Regards,
> > > Kenneth P
> > >
> >
> >
> >


Nov 19 '05 #7
Well, I think it's a sort of standard approach, that's why you could see
something similar elsewhere. As I said before, this makes sense if you pass
all data with the grid in hidden columns and then handle row click events to
copy row data to detail area. In this way reaction to row clicks is instant.

You would need a separate form for printing.

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:8E**********************************@microsof t.com...
Hi again,

Hmmm.... looks interesting.

Why didn't I think of this solution? Clicking on a datarow in a datagrid to get the details and present them on a Panel ctrl with subctrls.

Tell me more about it! I've seen it earlier but can't remember where.

This is good for having a very few columns in a grid and showing the details on another area. How did you think of reporting to the printer?

Regards,
Kenneth P

"Eliyahu Goldin" wrote:
My OutlookExpress shows an attachment attached to my previous post. Do you want me to email it to you? To what address?

Eliyahu

"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi again,

Where did you attach the screenshot?

Kenneth

"Eliyahu Goldin" wrote:

> Hi Kenneth,
>
> I've attached a screenshot of a grid with details.
>
> I looked at the link. It doesn't look very readable. Unless you have

users
> with very specific requirements to have all data in one or two rows,
>
> Eliyahu
>
> "Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
> news:4E**********************************@microsof t.com...
> > Hi Eliyahu,
> >
> > I'm intrerested in any solution that satisfies my clients, I've set up > that
> > they need 21 columns but they migth not want it, I've not asked them
yet,
> I'm
> > looking for solutions.
> >
> > You can develop your thougts further on and let me see more
exactly what
> you
> > have in mind.
> >
> > Did you take a look at the link I suggested?
> >
> > Anyway I saw some errors in my second testgrid. It should have
been: > >
> > M col1 col2 col3
> > 1 item 1.1 item 1.2 item 1.3
> > 1 item 2.1 item 2.2 item 2.3
> > col 4 col 5 col 6
> > 2 item 3.4 item 3.5 item 3.6
> >
> > Regards,
> > Kenneth P
> >
> > "Eliyahu Goldin" wrote:
> >
> > > Kenneth,
> > >
> > > I think 21 column for a grid is too much even if you split it into > several
> > > rows. Would you consider a solution when you have a grid with just few
> most
> > > important column and provide a panel where you would show all
record > fields
> > > in a convenient form-style way? When you click a grid row, the panel is
> > > populated with the row data. Now, you can do everything on
client side
> if
> > > you make the grid to have all record data as invisible columns
and write
> > > some javascripts that will transfer the columns content to the

detail
> panel
> > > in the grid's onclick event.
> > >
> > > Eliyahu
> > >
> > > "Kenneth P" <Ke******@discussions.microsoft.com> wrote in
message > > > news:71**********************************@microsof t.com...
> > > > Hi,
> > > >
> > > > I have an asp.net application where I calculate things and show the
> result
> > > > in a datagrid object. The grid needs 21 columns to show all
> information
> > > > needed for persons to understand the whole picture. This in
turn gets
> me
> > > into
> > > > BIG trouble.
> > > >
> > > > To show a grid with 21 columns and at least 10 pixels text
demands a
> > > monitor
> > > > with at least 1600 * 1200 resolution. Most of my customers
have 1024 *
> 768
> > > > resolution, they claime if the had to go further up, they
wouldn't sse
> > > > anything on the screen. Too small.
> > > >
> > > > So if I could divide the 21 colum grid into two 11 column
grids it > would
> > > be
> > > > the ultimate challenge for me, it would resolve all my problems. > > > >
> > > > Because we don't have much space here I'd like to give you a very tiny
> > > > example:
> > > >
> > > > M col1 col2 col3 col4 col5

col6
> > > > 1 item 1.1 item 1.2 item 1.3 item 1.4 item 1.5 item 1.6
> > > > 1 item 2.1 item 2.2 item 2.3 item 2.4 item 2.5 item 2.6
> > > > 2 item 3.1 item 3.2 item 3.3 item 3.4 item 3.5 item 3.6
> > > >
> > > > The above replace the 21 column grid
> > > > Depending on the value in col "M" I'd like the grid to render
in the
> > > > following
> > > >
> > > > M col1 col2 col3
> > > > 1 item 1.1 item 1.2 item 1.3
> > > > 1 item 2.1 item 2.2 item 2.3
> > > > col 4 col 5 col 6
> > > > 2 item 3.1 item 3.2 item 3.3
> > > >
> > > > The above replace the 11 grid when M=1 and when M=2
> > > > and this guarantees that an enduser can see everything on his

monitor
> in
> > > > 1024 * 768 resolution, not to mention a paper report, that on
a > standing
> > > A4
> > > > would require 6 pixel text on a landscape and I don't think it

would
> fit
> > > with
> > > > 6 pixels on one page.
> > > >
> > > > I've tried to solve this by doing some drill down thinking after I > read an
> > > > asp.net article with code where this worked out just nice, the

only
> > > problem
> > > > was it showed related info from another table, as it should.
> > > >
> > > > So, dear readers of this thread. Any suggestions on how to solve this
> > > problem?
> > > >
> > > > I've made a test application just for you, dear readers, on
one of my
> > > > testsites with my failure drill down report. There you can see
how a
> real
> > > > life example with substituted column names shows the problem

in a > > > nutshell.
> > > > Feel free to ask questions about it.
> > > >
> > > > Put this link into your URL
> > > > http://www.surf2us.net/tests/dgrd/testdd.aspx
> > > >
> > > > Regards,
> > > > Kenneth P
> > > >
> > >
> > >
> > >
>
>
>


Nov 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Sue | last post by:
On code-behind page: (attributes set programatically for each of these elements) linkbutton added to tablecell textbox added to tablecell tablecells added to tablerow tablerow added to table...
7
by: Maxim Shemanarev | last post by:
I'd like to announce my project called Anti-Grain Geometry. http://www.antigrain.com Anti-Grain Geometry (AGG) is an Open Source, free of charge graphic library, written in industrially standard...
1
by: Son Matt | last post by:
This is new territory for me so I don't know where to start with a design. I have to render a client side Dataset (5 cols x 20 or more rows) to a canvas. I know I can use...
2
by: Josef Meile | last post by:
Hi, I'm using a ComboBox, some Textboxes, and a DataGrid to represent a many-to-many relationship between Person and Course. Each time that I change the value in the ComboBox (which for now is...
0
by: Frank | last post by:
Hi all, I want to derive a class from DataGrid so that I can have a label on the top. But when I tried to add the control to my form, I got an error "Specified cast is not valid" on the line:...
4
by: Jan Nielsen | last post by:
Hi all I'm a former Access developer who would like to implement a many-to-many relation in about the same way you do in Access: With a subform and a combo box. Is it possible to use a...
0
by: Jeff Morgan | last post by:
I have an application that runs on ASP.NET. We have been working through performance testing and it appears that at about 40-50 users, I start to get CPU bound. The application is a three form,...
3
by: ramesh | last post by:
Hi all, I am facing a problem with the rendering of html into a windows application (C# .NET). I am trying with two possible approaches: 1. Use a control that directly renders the html into...
5
by: gaya3 | last post by:
Hi, can anyone find error in the following example <%@ include file="JspBean.jsp" %> <%@ page import="java.util.*"%> <html> <head> <%
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.