Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2004

Tip: Looking for answers? Try searching our database.

Sort Repeating table columns dynamically by clicking on the header

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SK - 24 Sep 2004 19:51 GMT
I am an Infopath/XML/XPath green bean.

I have a form with a repeating table.  Everything works great.

However, I know my boss is going to want to click on the column header
values in the repeating table in order to reorder the columns dynamically
(damn Access).

How can I do this?

Thanks,

Sue
Josh Bertsch [MSFT] - 24 Sep 2004 20:07 GMT
Check out the code behind the "Asset Tracking" sample that came with
InfoPath.  There is a drop down in that template that sorts the assets.
Similiar code could be used to sort your table.

Use button in the header and place your code in the onClick event handler.

Shouldn't be too hard if you are vaguely familiar with script.

--josh bertsch

> I am an Infopath/XML/XPath green bean.
>
[quoted text clipped - 9 lines]
>
> Sue
SK - 24 Sep 2004 20:25 GMT
YES!  This is something I can work with.

I appreciate your help so much!

Sue

> Check out the code behind the "Asset Tracking" sample that came with
> InfoPath.  There is a drop down in that template that sorts the assets.
[quoted text clipped - 19 lines]
> >
> > Sue
JP - 23 Nov 2004 10:03 GMT
Hi,

I'm trying to use <xsl:sort> in xsl files after extracting the views. No
success so far. If you have any sample, please post it.

Thanks

> Check out the code behind the "Asset Tracking" sample that came with
> InfoPath.  There is a drop down in that template that sorts the assets.
[quoted text clipped - 19 lines]
> >
> > Sue
JP - 23 Nov 2004 10:19 GMT
output should be html and not a xml. infect, i'm trying to create dynamic
sort in view using xsl:sort

> Hi,
>
[quoted text clipped - 26 lines]
> > >
> > > Sue
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.