This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Dynamic columns in datagrid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic columns in datagrid" Watch "Dynamic columns in datagrid" New topic

Dynamic columns in datagrid

Nikes Shah
Ranch Hand

Joined: Jul 18, 2007
Posts: 133
Hello friends,

My requirement is like this...

In our project we have to use stored procedure for SQL Server 2005.

I have to display result in datagrid form and it should display columns fetched from stored procedure.

In our architecture we get data from stored procedue and in jsp page we get list of columns as list and data as two dimentional string array.

I downloaded display tag but it doesnt take input as two dimentional string array.

Any idea how can I display data in datagrid?

I agree. Here's the link:
subject: Dynamic columns in datagrid