Tag Info

Hot answers tagged

6

Have you tried setting the DisableFilter property to true?


4

Since you are using strings as the data type, you need to format the data differently so that they sort correctly based on alphabetical order, ie 01.0.0 02.0.0 02.0.1 03.0.0 03.0.1 03.1.0 10.0.0 10.0.1 11.0.0


3

If you have Content Type management enabled for the list (if you see a list of content type with the option to add more), the display order of columns is set for each content type. Drill down into one of them and you'll see the option under the list of columns for that content type.


3

If ArticlePriority is a choice column then null values will be sorted before the ones with values. One solution could be to create a hidden calculated column with the formular something like =IF(ArticlePriority=0,9999,ArticlePriority) and then order by that column


3

Simplest possible solution is to include section number in group field: 1. Permissions 2. Requirements Problem is that you can apply sort on groups only on group field. So if you use number in front of group name you can get desired results.


3

Do you use Publishing features? Normally you can changer order in Quick Launch settins from Site settings, Look and Feel column. You can find step by step guide here http://support.sherweb.com/Faqs/Show/how-to-change-the-order-of-the-items-in-the-quick-launch-of-sharepoint-sharepoint-2007 for example.


3

If you convert that view to a data view web part in Sharepoint Designer, you can build your own sorting logic and you should be able to sort by the nodeset average.


2

I think the problem is that you on post backs do not create the ObjectDataSource object and configure the SPGridView object. Refactor your code to do this in the CreateChildControls() method that you must override from the base class. Also call grid.DataBind() in the PreRender phase and not in the Render phase. Here is another useful article on the ...


2

You need to customise the DVWP within SharePoint Designer. In this, you can enable sorting for columns as well as enabling pagination. further enhancements require you to edit the underlying XSLT behind the web part, which you can also do in SharePoint Designer.


2

You can write values as 00.00.000 (eg. 01.11.345). Not the best solution but the easiest one. More complex one is to write your own Custom Field Type. Also take a look at SharePoint MaskedEdit Field Control and Input-Masking in SharePoint Forms. Not exactly what are you looking for but just as idea (never tested it myself).


2

Your data is formatted as x.y.z, and you need 3 ordering rules: x ascending, then y ascending, then z ascending. You could use 3 columns to store x, y and z. You would apply the sorting criteria, and for rendering you would use a calculated column: =x+"."+y+"."+z If it's too many columns to handle, then you would have to use the 00.00.000 format suggested ...


2

You can configure a view with the sort you want, and use that as your RSS feed. Append: ?View=<View ID> You can also get the full URL of the view's RSS by clicking the little RSS icon next to the view's Name in the Edit View page. I'm not sure there is a way to sort the default feed, it doesn't seem to be using the default view.


2

Yes, you will need to implement a custom solution to accomplish this. The OOTB results Web part is unfortunately hard-coded for sorting by relevance or modified date. This limitation is first removed with SharePoint 2013 Search where managed properties can now be registered as sortable. In SharePoint 2007, you can implement custom sorting using the ...


2

If publishing feature is enabled or you created site using publishing template, http://office.microsoft.com/en-us/sharepoint-server-help/customize-navigation-links-on-the-quick-launch-HA010255192.aspx#BM10 If not, you have to use code to sort it...Example here ...


2

The internal name of the field is PublishedDate. Try changing your query to use that name and hopefully that will solve the problem.


1

I'm afraid your workaround is the only option you have


1

I solved this, using Jesus Shelby's first suggestion. Tedious, but it works. Details: Assumptions: I have a list with two columns, Header, and HeaderSort. I want to sort the groups by HeaderSort, but display Header as the group title. Steps: Add a Data View Web Part, tied to the list in question. Columns (except group title and group sort columns) ...


1

Just a warning. You can not use JavaScript after the page is rendered to change the field as it will break the grouping function in the default list view. Two good choices: Use SharePoint Designer and edit the XSL directly to change the text values. Use JavaScript/HTML and recreate your own your list and get full control of how it is displayed. I ...


1

I would not try to do this with XSL. I would subclass the core search results web part and change the query results and sort them befor rendering.


1

Out of the box there is no such mechanism. You could use a new column of type Integer (also set to Uniqueness on it to avoid duplicate numbers) and define the Default view to Order slides based on that column (name it OrderBy) - of course this would force user to change # of the other slide prior to re-use it. Or... you could envision building your own ...


1

The sorting of Lookup columns (and a SPFieldUser is just a lookup column into the User Information List) depends on the LookupField of the lookup column. If you define your User field to display as one of the Name columns then the sorting of your Query should by the display name of the user.


1

ok, im presuming that you are creating the list using xml and not querying in .cs? whats the full code and are you doing it like this? <Query> <OrderBy> <FieldRef Name="SomeUserField"/> </OrderBy> </Query> You dont need to add in ascending = true as by default it is ascending. You only need to use it if you ...


1

Change the order of the columns in the list's settings (or the content type)


1

During a sort, the values are compared character by character. This is normal behavior. 4 < 5 < 6, so that's how they should be sorted. A < B < C, but you don't expect AZ to come after BA, because A < B


1

You can only manually (NO OOTB) change the order in which headings or links appear on the Quick Launch, or else you can use some jQuery customizations to do such thing: Site actions -> Site settings. In the Look and Feel column, click Quick launch. Click Change Order. Click the options in the lists to change the order in which the headings and links are ...


1

Nothing out of the box. You could possibly do this through jQuery though or some type of timer job that will detect navigation changes and reorder them for you. I don't think there is an event to key on so it would probably be a polling type thing. Best performance would be to create a SPChangeQuery to determine if there were any navigation changes. ...


1

I found the solution and want to share with the rest, maybe it will help them in the future or those who might come across the same problem. So the actual problem was in an if test which didn't let the first node pass: <xsl:template name="dvt_2.rowview"> <xsl:if test="(position()=1)or(@Category!= (preceding-sibling::*[1]/@Category))"> ...


1

Since blogs in SharePoint are sequenced in chronological order of their posting, to change the order requires time travel. Actually, you can edit the time field in the publishing properties for the post. Simply apply new publishing times to all of the posts in the order that you want them to appear. To perform this task, go to the Post list (Click the ...


1

If you set the users up in a list instead of just using the out of the box security groups, you have more control. You could create a column that will state their place in the sequence (1, 2, 3)Then you could modify your approval workflow using SharePoint Designer and have it step through in the order in which you specify using lookups to that list.



Only top voted, non community-wiki answers of a minimum length are eligible