Showing data in infopath form like data grid in ASP.NET

A

Amar

Hi,

I am new to Infopath. I want to show the records from the data source in
infopath like data grid in ASP.NET. Now I am using "Repeating Section"
control, but the problem with this control is label of the data column is
duplicating for each row of the data. I want to show the Label of data column
once and show the data of multiple rows like

EmployeeId EmployeeName Age
------------- ------------------- --------
1 Raghu 30 EditLink
2 Amar 25 Edit Link

instead of

EmployeeId: 1
EmployeeName: Raghu
Age: 30

EmployeeId: 2
EmployeeName: Amar
Age: 25

When I click edit link I want to make that row editable and save to database
or take the EmployeeId of the row show the data of the row in editable form
in seperate form and save to database.

You quick help is highly appreciated

Thanks,
Amar
(e-mail address removed)
 
J

Jay W

Have you tried using arepeating table instead of a reapeating section? I
believe that will give you the format you are looking for.

HTH,

Jay
 
A

Amar

Yes, but Reapeating table also has given the label name for each data row. I
want the label name at the top and data for each row.

Thanks,
Amar
 
J

Jay W

Right-click on the repeating table and select Repeating Table Properties. Go
to the Display tab, check the box next to include header and click OK. Now
cut and paste the data label text from in front of the controls into the new
header row. This should give you exactly what you are looking for.

HTH,

Jay
 
J

Josh

Hi Jay,

I have a question on repeating table. Can I make the SORT function to work
on the columns on clicking the column header?

Thanks in Advance.
Josh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top