sort 1 « PrimeFaces « JSF Q&A

Home
JSF Q&A
1.API
2.Bean
3.Component
4.Control
5.Data
6.database
7.Datatable
8.Development
9.Exception
10.Facelets
11.Form
12.Glassfish
13.HTML
14.IceFaces
15.Internationalization
16.JPA
17.JSP
18.MyFaces
19.openfaces
20.Page
21.Portlet
22.PrimeFaces
23.RichFaces
24.Seam
25.Security
26.Servlet
27.Session
28.Tag
29.Test
30.Tomcat
31.validation
32.Web Service
JSF Q&A » PrimeFaces » sort 1 




1. dataTable sorting problem (JSF2.0 + primefaces)    stackoverflow.com

I dont know why my dataTable does not sort the columns when i click on the sort arrow. It only works if i first type something on the filter and erase ...

2. How to retain the sort order of primefaces datatable?    stackoverflow.com

In my project I am using a ViewScoped bean and I have two pages one is main page and the other details page. In the main page I have a primefaces datatable ...

3. Lazy sort and filter broken    forum.primefaces.org

There are two issues. 1) Only one (1) filters column is being passed to the lazy loader. 2) The key of that column is not being evaluated properly. In this example ...

4. DataTable and Ajax sorting with comparator    forum.primefaces.org

I have just now studied data table related stuff of RichFaces and found that they have already "comparator" attribute for columns. We really need it in PrimeFaces too. Furthermore, they have ...

5. Selection after sorting in a DataTable    forum.primefaces.org

Hi, I am working in a dataTable with paging, sorting and multipleSelection. My selection array is being populated correctly, but after sorting one column, the selection array doesnt have the correct ...

6. Datatable sorting erasing filter    forum.primefaces.org

11 May 2011, 23:14 by mahoushi Datatable sorting erasing filter Hello all, I am trying to build an application that contains a datatable which can be filtered and sorted. Both functionalities ...

7. Datatable issues related to sorting    forum.primefaces.org

Hi, I found 2 issues related to sorting. I hope they 've not already being posted. 1. Sorting of numbers when negative values are included: -20, -10, 10, 20 is sorted ...

8. Initial sort column in datatable    forum.primefaces.org

20 Jan 2010, 09:46 by Robelind Initial sort column in datatable How do you set the initial sort column in a datatable, when using client side sorting? There is at least ...

9. Datatable filtering and sorting PF2 nightly build    forum.primefaces.org

22 Jan 2010, 00:51 by loeffler Datatable filtering and sorting PF2 nightly build I was using the nightly build from 01/20/2010 and tried to change the width of one column. The ...





10. DataTable sort column    forum.primefaces.org

public class JobApplyController { private DataTable dataTable; private Collection data; public Collection getData() { ...

11. Bug in datatable sort/pagination ?    forum.primefaces.org

I don't know if it's a bug or maybe i didn't used the component correctly. When i sort my datatable by a column, for example ID column desc, if a go ...

12. Custom clientside column sorting in dataTable    forum.primefaces.org

13. Datatable Sorting: problem, workaround and behavior    forum.primefaces.org

Sorry about my bad english. Simple table: Code: ...

14. [SOLVED] Datatable Sorting Problem    forum.primefaces.org

I have just tried this with 1.0.0 RC dated 2010-02-08 and still have the same problem. I have a datatable with several columns (including the "name" column shown below) and it ...

15. Sorting DataTable    forum.primefaces.org

16 Jun 2011, 15:10 by vsahul19 Sorting DataTable Hi all, I am new to prime faces. I am very happy to be one of the users of Primefaces. The look and ...

16. p:dataTable sorting/filtering not working    forum.primefaces.org

#{user.login}





17. DynamicDatatable Sorting Issue    forum.primefaces.org

24 Jun 2011, 11:46 by Srinivas Boga DynamicDatatable Sorting Issue Hi, Iam using primefaces and working in the WAS7.0. I got the requirement to create the DataTable dyamically, I was able ...

18. data Table sorting is not working    forum.primefaces.org

29 Jun 2011, 15:02 by bphalak data Table sorting is not working See below code. sorting is not working in my code please check. -------------------------------------------------------------------

19. cell editor with sorting.    forum.primefaces.org

30 Jun 2011, 07:43 by bphalak cell editor with sorting. Columns with cell editor enabled and add sorting. do not display sorted results on same column. when i click on column ...

20. How can I listen for sort events in datatable?    forum.primefaces.org

Hello all! Is there any method to capture the sort events in a dataTable component? I want to save the sort order field in my session. Thank you in advance.

21. [SOLVED] p:dataTable column sorting problem in IE6-IE8    forum.primefaces.org

Hello Cagatay, when I click on a column for sorting I got the following error in IE6 and IE8 : but It works fine in Firefox 3.5.7...unfortunately I can't use firefox ...

22. Primefaces 3.0 M2 - Datatable initial Sort    forum.primefaces.org

Hi, can anyone give me a hint how to enable initial Sort on non-lazy and non-dynamic datatable ??? encodeConfig method in DataTableRenderer.java doesn't config the inital sort. sortBy is the id ...

23. dataTable sorting when lazy=true    forum.primefaces.org

SEVERE: java.lang.ClassCastException: monakhv.catalog.jsf.OTUserController$OTLazyDataModel cannot be cast to java.util.List at org.primefaces.component.datatable.DataTableRenderer.encodePartially(DataTableRenderer.java:91) at org.primefaces.component.datatable.DataTable.encodePartially(DataTable.java:355) ...

24. 3.M02 data table Add/view /edit/ sorting not working    forum.primefaces.org

Skip to content . Advanced search FAQ Register Login PrimeFaces Forum Board index Community PrimeFaces Core Print view Next topic | Previous topic | 3.M02 ...

25. Get a sorted tree using TreeNode    forum.primefaces.org

Hi, I've a TreeNode object. How can I sort the nodes in alpha numeric order from root object? Code: private final TreeNode root = getRoot(); public static TreeNode getRoot() ...

26. Sorting/Filtering stop working after datatable update    forum.primefaces.org

Hi, I have a datatable that is updated every 20 seconds using a p:poll component. I noticed that sorting and filtering stop working as soon as the datatable is updated the ...

27. PartialRendered DataTable Pagination/Filter/Sorting    forum.primefaces.org

25 Aug 2011, 22:12 by pratham.dev PartialRendered DataTable Pagination/Filter/Sorting Hi, I populated a DataTable in a DialogBox using a ActionListener of a button in the same form. But after the data ...

28. dataTable with lazy loading, dynamic columns, and sorting    forum.primefaces.org

29 Aug 2011, 15:08 by msh321 dataTable with lazy loading, dynamic columns, and sorting Hi all, I'm trying to use Primefaces (latest version from Subversion) to render data tables with lazy ...

29. Sorting on data list of array    forum.primefaces.org

I have a data table where value is list of array. In the code below featRec is an array of objects. When i click on the column sorting does not work. ...

30. dataTable: sort fails until filter used then ok    forum.primefaces.org

31. DataTable: Plain sort doesn't work (require filter)    forum.primefaces.org

32. dataTable not sorting    forum.primefaces.org

Hi All, Code:

33. Filter and sort values of datatable.    forum.primefaces.org

Hi, I'm using a datatable with filtering and sorting. Is there a way to detect the values the user filled in in the filter textbox and if a column is sorted ...

34. Datatable can't support sorting case    forum.primefaces.org

...

35. lazy loading datatable and sorting/filtering    forum.primefaces.org

Hei, I've been running an lazyloading datatable using the framework from the examples. (using a M-SQL backend) Right now the filters does not work since the class.getField() returns null. To bypass ...

36. Data Table -Sorting not working, under given circumstances    forum.primefaces.org

17 Oct 2011, 19:49 by murli.p.israni Data Table -Sorting not working, under given circumstances When the data is available from the database, dynamically (List coming from function, rather binded with the ...

37. Sorting columns for p:subTable    forum.primefaces.org

Hi, I was wondering whether p:subTable could sort columns. I was trying to do this, but it doesn't work, so I suppose that feature is not supported. Am i wrong? Cheers ...

38. Maintain filter and sorting of datatable on reload    forum.primefaces.org

Hi, is it possible to keep the filter and sorting settings of a datatable even when reloading the table (through partial page reload)? My application has a datatable, which can be ...

39. datatable - selections are cleared in filter/sort    forum.primefaces.org

hello, i'm facing exactly the same problem. I tried the showcase example and had no problems (single selection). Then I downloaded the sources, changed to multiple selection (without checkboxes), edited the ...

40. p:datatable lazyloading model sorting    forum.primefaces.org

public void encodePartially(FacesContext facesContext, UIComponent component) throws IOException { ...

41. DataTable with server side sorting    forum.primefaces.org

>> << rafaelri Posts: 17 Joined: 01 Mar 2010, 15:05 25 Mar 2010, 16:23 by rafaelri DataTable with server side sorting Hi all, Is it possible to add a listener to ...

42. Client column sort not working as expected    forum.primefaces.org

...

43. Default sorted column with p:datatable    forum.primefaces.org

Hi, is it possible to have some column of a datatable sorted by default? I mean, I would like to have the contents of my table ordered by default by a ...

44. Sorting in DataTable    forum.primefaces.org

Hello all, nice framework. I have one question about sorting in data tables. Is it possible to sort by more than one column. E.g. by holding STRG and clicking on a ...

45. Sorting images in DataTable    forum.primefaces.org

Code: h:graphicImage id="erledigt" url="#{resource['images/erledigt.png']}" rendered="#{findVorgang.vorgangstatus eq 'ERLEDIGT'}" ...

46. Problems with new rating component + RichFaces table sorting    forum.primefaces.org

29 Jun 2009, 18:31 by dokmatik Problems with new rating component + RichFaces table sorting Hi, I would like to make proper use of the new star rating component in PrimeFaces ...

47. Default sort in tables?    forum.primefaces.org

Hello, I want to ask whether the current release has a presorting for data table. I mean whether we can chose a column for automatically sort (not by user click) after ...

48. Dynamic table loses selection after sort    forum.primefaces.org

PrimeFaces 2.0.2-SNAPSHOT. Dynamic table loses selection after sorting. No selected rows are displayed if user click on table header to sort a column. Is it a well-known issue?

49. Bug: Sorting Datatable    forum.primefaces.org

When I want to sort the Datatable there will be a bug. It Sort: 1..10...11..12..13..14..15..16..17..18..19...2..3..4..5..6...7..

50. p:dataTable sorting design questions    forum.primefaces.org

>> << Wolfgang_Schwendt Posts: 3 Joined: 15 May 2010, 11:55 15 May 2010, 12:03 by Wolfgang_Schwendt p:dataTable sorting design questions Hello, I just started evaluating Primefaces. My first impressions are very ...

51. Datatable with input loses values on sort and paging    forum.primefaces.org

19 May 2010, 09:03 by jonathan.morgan Datatable with input loses values on sort and paging Hi there, I have a data table with inputtext tags inside it but I notice the ...

52. Sort a boolean p:dataTable    forum.primefaces.org

...

53. Hook for datatable sorting / paging    forum.primefaces.org

Hello Cagatay, What I miss in the datatable is an JS hook for sort / paging. I have e.g. an use case where I must reset menubar (related to the datatable) ...

54. DataTable set default column sort    forum.primefaces.org

Hi, I have a datatable that show records from a SQL that is order by a concrete column. I would like see the column in the datatable with the sorted style ...

55. Datatable internal filter and sorting    forum.primefaces.org

If you create a datatable and set the columns so that you can sort and filter on them and you click on the column to sort the filter gets really weird. ...

56. Datatable sorting    forum.primefaces.org

hi everyone, i have noticed that the sorting process in the datatable is based on comparing Strings objects for example "B">"A" but i faced some problems when dealing with columns containing ...

57. Help on dataTable sorting    forum.primefaces.org

Hello experts, I'm creating a dataTable with sort feature. Code: ...

58. DataTable Sorting    forum.primefaces.org

this is the correct XHTML code for the DataTable - Ajax Pagination/Sorting showcase Code:

59. DataTable Ajax Pagination/Sorting in showcase    forum.primefaces.org

60. dataTable sorting and dynamic = true    forum.primefaces.org

12 Jul 2010, 13:57 by lbonacina dataTable sorting and dynamic = true Hi, i have the following scenario : - a DataTable with 3 columns, with dynamic = true - an ...

61. Getting Datatable Sort Event to PaintLines    forum.primefaces.org

function coreslinhas(){ var linha = document.getElementById("bilhetes").firstChild.firstChild.nextSibling.firstChild.nextSibling.nextSibling.nextSibling.firstChild; ...

62. Problem with dynamic dataTable and sorting    forum.primefaces.org

11 Aug 2010, 00:55 by zedman Problem with dynamic dataTable and sorting Hello, I have a problem with dynamic datatables, and it would be good to know what am I doing ...

63. enable/disable column sorting and filtering    forum.primefaces.org

64. Datatable sorting    forum.primefaces.org

I am unable to sort a datatable (dynamic) in ascending order. Whenever I click on the column header it only sorts in descending order. I click again and the same thing ...

65. sorting in p:dataTable    forum.primefaces.org

66. Help using sort and filter with input data rows    forum.primefaces.org

Hi, I'm using primefaces 2.1 GA. I use sort and filter function in datatable is perject (both client and server site). But because I want to edit row data on table, ...

67. will primefaces 2.2 support lazyloading pagination,sorting    forum.primefaces.org

hi I m waitng for primefaces 2.2 version .I implemented lazyloading pagination in primefaces 2.1 but there sorting and ,filtering is not working ....so can u make sure wheather primefaces 2.2 ...

68. Sort does not work in lazy loading datatable example    forum.primefaces.org

Notice that lazy sorting is not implemented as showcase has no real datasource connection, just dummy data is returned as the sample implementation for demonstraton purposes.

69. New DataTable with Lazy Loading. Sort and filter.    forum.primefaces.org

It looks like the new (PrimeFaces-2.2.M1-SNAPSHOT) DataTable with lazy loading supports sorting and filtering. The showcase does not use these features. Is there an example that someone could point me to? ...

70. Ajax datatable cannot be updated after filtering or Sorting    forum.primefaces.org

Primefaces 2.1 Mojarra 2.0.3 Sun 1.6_21 Glassfish 3.0.1 If you have an dynamic datatable, you can push updates to the java collection as long as the user does not sort or ...

71. Updating a DataTable with sorting or filtering    forum.primefaces.org

31 Aug 2010, 14:03 by csyperski Updating a DataTable with sorting or filtering This is an issue I have seen for a while, but have just lived with. Is it possible, ...

72. [bug on 2.2M1] datatable column width & sort icon    forum.primefaces.org

...lot of columns The Salary ...

73. Datatable set default sort to descending    forum.primefaces.org

Hi, I'm using primefaces (2.2) datatable with dynamic=false. I'm using the sortBy attribute to sort my entries. But my requirement is to get the elements sorted in reverse order (desc). Is ...

74. datatable sorting icon display problem    forum.primefaces.org

14 Sep 2010, 14:55 by arvindpal05 datatable sorting icon display problem Hi I am using datatable with sorting feature then its icon is working fine for less number of columns but ...

75. 2.2M1 DataTable + sorting by dynamic columns    forum.primefaces.org

Hello optimus.prime, The data table with lazy loading and dynamic columns work very well! However it does not yet support sorting. The data table with static columns supports this. Are there ...

76. 2.2M1 standard column features (sort, filter).    forum.primefaces.org

Hi there, Thanks for the the new DataTable and the dynamic column support! However I cannot see how I can configure the standard features as sort or filter on the dynamic ...

77. DataTable sorting related Query    forum.primefaces.org

78. Programatically created table sort and filter controls issue    forum.primefaces.org

Here is how I am trying to create a DataTable programatically Code: editableDataTable = (DataTable)createComponent(DataTable.COMPONENT_TYPE); ...

79. Multiple sort with dynamic columns    forum.primefaces.org

80. DataTable is not sorting when column grouping is used    forum.primefaces.org

01 Oct 2010, 16:22 by vanjadardic DataTable is not sorting when column grouping is used Hi. I have a simple DataTable with column grouping used. When I attach a sortBy attribute ...

81. dataTable : cell editor screws column sorting    forum.primefaces.org

82. Complex Data Table (Sort & Filter) not working together.    forum.primefaces.org

I have a complex data table. Filtering & Sorting Code: ...

83. sort in datatable doesnt works consulting from sessionBean    forum.primefaces.org

Glassfish 3.x, Mojarra 2.1.0 (FCS 2.1.0-b11), Netbeans 6.9, PF 2.2.1, Ubuntu 9.10 I will...never be a mere memory!!

84. DataTable: Sorting columns on h:inputText not working    forum.primefaces.org

Code: ...

85. complex datatable filter+sort+selection    forum.primefaces.org

I have a problem that can be reproduced in the showcase - complex datatable. Just filter the year with 2, clean de filter and sort the by the model (1 click). ...

86. dateTable sorting function out of work    forum.primefaces.org

Advanced search FAQ Register Login PrimeFaces Forum Board index Community PrimeFaces Core Print view Next topic | Previous topic | dateTable sorting function out of ...

87. DataTable - Complex Just Sort One time    forum.primefaces.org

>> << edwini Posts: 4 Joined: 23 Sep 2010, 21:36 21 Oct 2010, 22:51 by edwini DataTable - Complex Just Sort One time Hi this is Edwin and my problem is: ...

88. dataTable sorting and filtering    forum.primefaces.org

>> << fooly Posts: 3 Joined: 08 Nov 2010, 14:59 08 Nov 2010, 17:18 by fooly dataTable sorting and filtering Hi All, I just trying the new PrimeFaces 2.2.RC1, and I ...

89. Datatable sort and ListDataModel    forum.primefaces.org

I just upgraded from PrimeFaces 2.1 to 2.2 SNAPSHOT and my datatable sorts have stopped working when the table value is a ListDataModel. If the table model is a ListArray, the ...

91. Whole row not sorting/updating in DataTable    forum.primefaces.org

>> << IanF Posts: 20 Joined: 22 Mar 2010, 21:33 09 Nov 2010, 21:26 by IanF Whole row not sorting/updating in DataTable I've changed my ListDataModel to an ArrayList and the ...

92. dataTable sorting function?    forum.primefaces.org

I have a dataTable setup with multiple columns that can be sorted. Clicking on the sort icons works fine. But I also want to sort the same columns the same way ...

93. DataTable sorting not working    forum.primefaces.org

17 Nov 2010, 13:13 by jenscb DataTable sorting not working Hi, on a JSF 2.0 web application using md5sum primefaces-2.2.RC1, the sorting in DataTable doesn't work for me. Setting dynamic to ...

94. Sorting & Cell Selection    forum.primefaces.org

My Question is: Can i use both, single cell sellection and sorting when i use DataTables, i try to do it and only work the second? p.d. sorry about the english ...

95. Sorting DataTable Column as Numeric?    forum.primefaces.org

96. DataTable, CustomSorting and "Error in sorting"    forum.primefaces.org

Hello again . I've got some problems with the Custom Sorting at the DataTable Control Here is the code: Code: ...

97. Server side sorting and lazy lists    forum.primefaces.org

11 Oct 2009, 10:42 by mozvip Server side sorting and lazy lists Hi, I need to implement server side sorting: the thing is I have thousands of records to display and ...

98. dataTable sorting function    forum.primefaces.org

I have a dataTable setup with multiple columns that can be sorted. Clicking on the sort icons works fine. But I also want to sort the same columns the same way ...

99. java.util.Date in p:dataTable (filtering and sorting)    forum.primefaces.org

Hello! Can someone share a proper example of using Date in p:dataTable? Filtering doesn't work for me at all, sorting depends on locale. PrimeFaces-2.2-SNAPSHOT

100. dataTable sorting icon is not placed next to headline    forum.primefaces.org

JSF: 2.0.3 PF: primefaces-2.2.RC2.jar Using your example showcase at http://www.primefaces.org/showcase/ui/d ... orting.jsf : Code: ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.