Datatable 4 « PrimeFaces « JSF Q&A





1. General question about p:dataTable    forum.primefaces.org

23 Sep 2010, 18:17 by jgenchik General question about p:dataTable I am considering integrating p:dataTable in my application. I would like to combine lazy loading with sorting and filtering. I am ...

2. help:Attempting to enhance Datatable code    forum.primefaces.org

23 Sep 2010, 19:46 by cj91 help:Attempting to enhance Datatable code I'm trying to help contribute back to the community, but running into a few snags. We need to add an ...

3. onRowSelectUpdate not working with dynamic datatable    forum.primefaces.org

...

4. DataTable don't reset "current page"    forum.primefaces.org

Hi, I'm using p:dataTable Code: ...

5. dataTable - RadioCheckbox does not work in my case....    forum.primefaces.org

01 Oct 2010, 12:12 by tassos dataTable - RadioCheckbox does not work in my case.... Hi all, I am new prime faces developer and I have been facing a strange error ...

6. dataTable single selection update    forum.primefaces.org

>> << tassos Posts: 22 Joined: 01 Oct 2010, 10:50 01 Oct 2010, 19:00 by tassos dataTable single selection update Hi all, Since I informed (in another topic) that in 2.1 ...

7. dataTable and globalFilter    forum.primefaces.org

8. p:datatable emptyMessage not shown    forum.primefaces.org

Netbeans 7.1 | GlassFish 3.1 | PostgreSQL 9.0| MongoDB | Primefaces 3.0M4 _______________________________________________________________ Subraya Mallya http://tinyhabit.com |http://twitter.com/tinyhabit

9. dataTable rowpan should be rowspan    forum.primefaces.org

I'm working with the dataTable component and I've noticed that the attribute for grouping rows is named rowpan. Shouldn't this attribute be named rowspan? Maybe an alias should be created to ...





10. "No records found." in should not be selectable    forum.primefaces.org

like the title says, "No records found." should not be selectable. If it is selected, it displays the data of a previous record (BUG)

11. Datatable delete is not working    forum.primefaces.org

06 Oct 2010, 23:03 by toddc78 Datatable delete is not working I am working with a datatable in version 2.2.M1 and have a commandlink in it that I am using to ...

12.  colspan    forum.primefaces.org

hi, i love the datatable component of the primefaces, however, can we really use colspan or rowspan under tag inside databale of primefaces? i need to display a row with ...

13. "p:datatable" not select after update.    forum.primefaces.org

Consider the following example: Code:

14. Example Editable DataTable    forum.primefaces.org

Can someone please post an example of how to use the Editable DataTable to persist changes to a database? I'm stumbling with the rowEditListener and RowEditEvent. Using the rowEditListener attribute of ...

15. Strange behaviour in dataTable    forum.primefaces.org

I use JSF implementation: Mojarra V2.1.3 JSF component library: Primefaces V2.2.1 Server: GlassFish Open Source Edition V3.1.1 (build 12)

16. DataTable update Question    forum.primefaces.org

I see that you can update components after you select a record, but what if you want to update a component after you sort or filter? The update="xxx" didn't work.





17. Issue of datatable    forum.primefaces.org

PrimeFaces 2.1 glassfish 3.01 netbeans 6.9.1 I try the "Simple DataTable" example in showcase,and I found that the "getCarsSmall()" method was called six times. Why? not one time?

18. arrow selection on datatable    forum.primefaces.org

15 Oct 2010, 09:57 by tofa arrow selection on datatable Hi I would like to able to use the arrows to walk up and down in the datatable and select the ...

19. Datatable initial page    forum.primefaces.org

Hi, is it possible to tell the datatable to show a different page when it is loaded? I tried to use the "page" argument (Primefaces 2.2 RC1-SNAPSHOT), but it does not ...

20. problem updating whole datatable with commanbutton.    forum.primefaces.org

>> << obilir Posts: 3 Joined: 20 Oct 2010, 08:52 20 Oct 2010, 09:14 by obilir problem updating whole datatable with commanbutton. Hi, First of all, thx for this great FW. ...

21. DataTable: livescrolling never stops    forum.primefaces.org

Hello, after i found out, that scrolling and pagination can't be used together (klick me) I tired to use LiveScrolling instead. First impression was good but then i noticed a bug. ...

22. DataTable setSortField    forum.primefaces.org

I had a look on google, the pdf documentation and the source code. I can't find how to use setSortField I would like to set one column as the default column ...

23. dataTable selection with multiple    forum.primefaces.org

24. DataTable questions    forum.primefaces.org

25 Oct 2010, 04:31 by pitutos DataTable questions Hi, I have two questions related to the component "DataTable". First I need to know how to do that when I change the ...

25. dynamically loaded datatable    forum.primefaces.org

Hi, i am using the datatable component and i am trying to load it dynamically via an ui:include triggered from a tree that acts like a navigation. I found out that ...

26. DataTable Updating    forum.primefaces.org

28 Oct 2010, 05:13 by lanpar DataTable Updating I have a data table defined: data gets populated but my changes do not get captured, e.g.- I ...

27. My dataTable doubled    forum.primefaces.org

28 Oct 2010, 21:26 by roabol My dataTable doubled Hi, Something happing in my page, when I put binding in my dataTable. Code:

28. p:dataTable problem in SNAPSHOT    forum.primefaces.org

On advice in another thread I upgraded from 2.2.M1 to 2.2RC1-SNAPSHOT. When doing so, the update attribute in p:dataTable stops working. I use it to display detail of a record outside ...

29. p:dataTable gives java.lang.IllegalArgumentException:    forum.primefaces.org

30 Oct 2010, 11:44 by nirvanbd p:dataTable gives java.lang.IllegalArgumentException: I am using facelets implementation of Mojarra 2.0.3 on Glassfish Server 3 along with PrimeFaces 2.2M1. I am trying to use p:dataTable ...

30. Grouping and SubTotal in dataTable    forum.primefaces.org

Hello Everyone, Is it possible to make a Grouping on a property of a dataTable and have subtotal. This is a standard scenario for almost any type of reporting. For Example ...

31. 2.2 RC1 dataTable CellEditorRenderer problem    forum.primefaces.org

Hi, I upgraded to primefaces 2.2 RC1 and i get a null pointer when rendering a dataTable with in the columns. It works fine with the 2.2RC1-SNAPSHOT from 10/28/2010. The ...

32. Multiple issues with dataTable    forum.primefaces.org

>> << jharber Profile Website Posts: 8 Joined: 21 Oct 2010, 13:45 01 Nov 2010, 17:57 by jharber Multiple issues with dataTable Hi guys, great job with simplifying the UI components ...

33. datatable ajax update not working    forum.primefaces.org

>> << cbmyers Posts: 53 Joined: 20 Oct 2010, 14:56 02 Nov 2010, 14:19 by cbmyers datatable ajax update not working Hi, I have a datatable and in each row i ...

34. datatable multiple select puzzlement    forum.primefaces.org

If in a datatable with multiple selection, how to select them all? A plain single click acts like CTRL-click, and shift click does weird things with selection on the screen. I ...

35. DataTable control: Zebra striping    forum.primefaces.org

The DataTable is a great control. My client would like the rows "zebra striped" i.e alternating colours. I could not find anything to do this, other than using conditional colouring with ...

36. 2.2.RC1 datatable issues    forum.primefaces.org

>> << healeyb Posts: 365 Joined: 07 Apr 2010, 16:05 04 Nov 2010, 03:59 by healeyb 2.2.RC1 datatable issues Hi, I didn't miss that comment yesterday, so I've spent all day, ...

37. 2.2RC1 DataTable throw "/ by zero"    forum.primefaces.org

public List load(int first, int pageSize, String sortField, boolean sortOrder, Map filters) { this.setRowCount(getFacade().count(getQuarter())); return getFacade().findAll(getQuarter(), false, pageSize, first); }

38. Allow datatable edit mode to be initially on    forum.primefaces.org

The Editable Datatable will always default to having edit mode off on page load unless there is a validation failure. It would be nice to have an attribute on the rowEditor ...

39. DataTable rowStyleClass and rowIndexVar    forum.primefaces.org

String rowStyleClass = table.getRowStyleClass(); rowStyleClass = rowStyleClass == null ? DataTable.ROW_CLASS : DataTable.ROW_CLASS + " ...

40. dataTable not showing records after loading    forum.primefaces.org

41. dataTable selection    forum.primefaces.org

>> << kanikman Profile Website Posts: 79 Joined: 20 Nov 2009, 02:53 Location: poland 05 Nov 2010, 11:26 by kanikman dataTable selection i use PF2.2 snapshot, so: 1. In Google Chrome ...

42. datatable    forum.primefaces.org

43. Reset p:dataTable    forum.primefaces.org

Hi , I have a p:dataTable inside a p:dialog, with value taken form a @ViewScoped bean. When closing the p:dialog (or when opening the dialog again) I need to reset the ...

44. My final issues with p:dataTable in 2.2RC2    forum.primefaces.org

>> << Alan Posts: 94 Joined: 25 Oct 2010, 04:45 08 Nov 2010, 18:35 by Alan My final issues with p:dataTable in 2.2RC2 A long strange road its been. My page ...

45. Incell Editing datatable Problem in 2.2.RC1    forum.primefaces.org

Hi all I use the incell editing to update a row record. What happen is that after i press the update button, the particular row become another record of that is ...

46. can I make the dataTable to display a specific data page?    forum.primefaces.org

Hi all! I have a question about the paginator in the dataTable. I have a dataTable with lazy loading and paging. I want every time I visit the page with the ...

47. Issue with selection mode on datatable    forum.primefaces.org

14 Nov 2010, 15:50 by genomeprjct Issue with selection mode on datatable Hi there, new to primefaces but not JSF. I found something which I think is odd. In my app, ...

48. How to programmatically create expandable DataTable?    forum.primefaces.org

15 Nov 2010, 11:27 by GvanBelkom How to programmatically create expandable DataTable? Hello, I am using PrimeFaces 2.2 RC1 in combination with JSF 2, Glassfish v3.0.1 and Netbeans 6.9.1. My question ...

49. Issue with multiselection of datatable.    forum.primefaces.org

Hi all, In datable, I use multiSelection as my code : Code:

50. Problem with Select All in DataTable    forum.primefaces.org

Code: ...

51. Partial Update does not work from inside dataTable    forum.primefaces.org

Code: ...

52. DataTable: OnRowSelectUpdate Doesn't Work in Safari    forum.primefaces.org

Code:

53. Issue with p:dataTable    forum.primefaces.org

19 Nov 2010, 15:51 by scounthorpe Issue with p:dataTable When i click search then the dataTable displays 12 recorder. The if i set the filter of share=50 and click search button ...

54. Programmatic setting of dataTable page    forum.primefaces.org

Hi I have a multi-page dataTable component for which I am trying to change the visible page bsaed on the results of processing within the backing bean. I set the "page" ...

55. dataTable inCellEdit: how to reject changes and den rollbck?    forum.primefaces.org

PrimeFaces 3.0M1, Sun Mojarra 2.0.4 FCS, Sun GlassFish JSTL 1.2, Apache Log4J 1.2.16, EclipseLink 2.1.1.v20100817-r8050, Eclipse Helios

56. datatable value provider called many times    forum.primefaces.org

Hi, I am sure this is old stuff, but I can't find a previous thread. I have a table that gets data, as usual, from value="#{controller.groupList}". The problem I am facing ...

57. p:dataTable don't work correctly after build #185    forum.primefaces.org

I develop and check all nightly builds of PF, this my code work the best before nightly-build #185 : Code:

58. Problem in DataTable when calculating page if rowCount is 0    forum.primefaces.org

public void calculatePage() { int rows = this.getRows(); int currentPage = this.getPage(); ...

59. DataTable lazyload issue in RC2    forum.primefaces.org

Hi guys, Did anybody face with such issue that when you use lazy loading in datatable the data isn't populated from the first time (all of them are empty) but after ...

60. Selection mode in datatable    forum.primefaces.org

@ManagedBean (name="groupController") @SessionScoped public class GroupController implements Serializable { private Groups[] selectedGroups; [code] [/code]

61. p:dataTable, CurrentPageReport does not change after update.    forum.primefaces.org

29 Nov 2010, 15:15 by Warlornhor p:dataTable, CurrentPageReport does not change after update. Hello, I have a page with p:dataTable that looks like this: Code:

62. p:datatable disappeared!    forum.primefaces.org

63. Problem with datatable    forum.primefaces.org

Hello, i have a probleme with datatable component if the managed bean return an empty list , i have the folowing exception : java.lang.IllegalArgumentException: -15 at javax.faces.component.UIData.setFirst(UIData.java:258) at org.primefaces.component.datatable.DataTable.calculatePage(DataTable.java:735) at org.primefaces.component.datatable.DataTableRenderer.encodeMarkup(DataTableRenderer.java:150) ...

64. Is it possible to display data in datatable as HTML?    forum.primefaces.org

...

65. Catch records from the filtered DataTable.    forum.primefaces.org

66. p:dataTable now working in primefaces 1.1    forum.primefaces.org

Code: /*The value is a simple Arraylist of 20 objects.*/

67. p:DataTable causes java.io.NotSerializableException    forum.primefaces.org

>> << kman Posts: 57 Joined: 03 Nov 2010, 09:21 Location: Hong Kong 02 Dec 2010, 06:17 by kman p:DataTable causes java.io.NotSerializableException I have a and linked its "value" to ...

68. DataTable horizontal orientation    forum.primefaces.org

Is it possible to change the display orientation of a dataTable to be horizontal instead of vertical? i.e. DataTable adds new rows vertically down the page and the columns are fixed. ...

69. Multiple Select Datatable    forum.primefaces.org

...

70.  does not work    forum.primefaces.org

71. dataTable selection not always working    forum.primefaces.org

.... Columns .... ...

72. Dynamic datatable example    forum.primefaces.org

73. DataTable: selection mode    forum.primefaces.org

Hi, I have a page with a Datatable that is supposed to support the selection of multiple rows. I have the following JSF code for the datatable opening tag: ...

74. preselection of datatable    forum.primefaces.org

75. version1.1 datatable    forum.primefaces.org

Hey, every body Is there a way to add a row of checkbox in the datatable component included in version 1.1? It does't seem like to support this selectionMode, does it? ...

76. overlaping issues with datatable    forum.primefaces.org

I solved my problem by adding .ui-datatable th { white-space: normal; } to my skin.css file, this makes the text wrap to next line instead of forcing it in to the ...

77. DataTable rowsPerPage    forum.primefaces.org

17 Dec 2010, 14:34 by fraction DataTable rowsPerPage Hi, Im using a datatable with property: rows="#{mrBean.rowsPerPage}" to display rows per page returned from the bean, this works fine, however when the ...

78. Severe troubles with p:dataTable    forum.primefaces.org

79. support for inline adding in a datatable?    forum.primefaces.org

Hi, do you have any plans for supporting "inline adding" feature in a datatable? What I mean with "inline adding": you have the posibility to add new items within the datatable ...

80. DataTable rowStyleClass not working 2.2.RC2    forum.primefaces.org

81. Datatable with inCell editing and selection    forum.primefaces.org

Hi guys, I'm wondering if some of you faces with such issue: If you have a datatable with inCellEditing then row selection doesn't work for it. When you select the row ...

82. escape=false not working in p:dataTable    forum.primefaces.org

I have a datatable with My database have 3 - 5 lines varchar(150) which i get input from but when I using it ...

83. P:datatable wildcard search    forum.primefaces.org

84. dataTable selection    forum.primefaces.org

26 Oct 2009, 05:03 by wagner.montalvao dataTable selection Hello again, I am now trying the dataTable features and I have a few questions. Let me show what I am doing:

85. Updating Datatable    forum.primefaces.org

Hi, im using a Primefaces Datatable and i got a dynamic content for the datatable. To be detailed i want to remove and add rows via buttons. I now searched for ...

86. Datatable Feature: Flexigrid    forum.primefaces.org

Hi, p:datatable is not so cool with its look, skinning and also rendering time. I will make a blog post later by comparing p:datatable and rich:datatable. Meanwhile, i have a feature ...

87. DataTable problems    forum.primefaces.org

Hello, everyone! I'm using DataTable element and I works differently from showcase. First of all, in my program it doesn't work in Google Chrome, but in showcase it works. Exception is: ...

88. DataTable is returning duplicated objects    forum.primefaces.org

17 Jan 2011, 08:19 by torquato.neto DataTable is returning duplicated objects I'm using a DataTable, paginated, with selectionMode = "multiple", and clicking on the checkbox to select all records from the ...

89. can't load org.primefaces.component.datatable.DataTableTag    forum.primefaces.org

Hello, I am using Netbeans 6.9.1, and added PrimeFaces 2.2RC2 jar file to the Libraries for the WAR module. I have also unckecked PrimeFaces 2.1.jar from the Libraries. HOwever I got ...

90. Expand dataTable or placing a dataTable in a dataTable fails    forum.primefaces.org

28 Jan 2011, 10:59 by HalloSchwester Expand dataTable or placing a dataTable in a dataTable fails Hi! I'm trying to expand a dataTable by adding another dataTable inside the first. The ...

91. Update datatable - without Id    forum.primefaces.org

When I update a datatable with Id it work's but when I update a table (without id) all my lines on the datatable are selected even being selectionMode="single". Why ? Thank's. ...

92. DataTable lost funcionallity    forum.primefaces.org

Hi, Please i need help for this problem, I have a p:datatable in my xhtml like this: Code: The binding have like this: ...

93. DataTable selection with WebFlow    forum.primefaces.org

94. Datatable problem [SOLVED]    forum.primefaces.org

>> << leosdutra Posts: 5 Joined: 02 Feb 2011, 17:55 02 Feb 2011, 18:28 by leosdutra Datatable problem [SOLVED] Hey all, I've been trying PrimeFaces for a week or so, and ...

95. p:datatable + p:fileUpload    forum.primefaces.org

Hello , i have this using primefaces 2.2RC2 jsf 2.0.3 server springSource 2.1 Code: ...

96. DataTable - RadioCheckbox incorrect behaviour    forum.primefaces.org

07 Feb 2011, 12:42 by dboldureanu DataTable - RadioCheckbox incorrect behaviour Hello to all, I was thinking to implement the from the DataTable - RadioCheckbox showcase - http://www.primefaces.org/showcase/ui/d ...

97. DataTable (incorrect) appearance    forum.primefaces.org

07 Feb 2011, 19:27 by dino DataTable (incorrect) appearance Hi all, I'm pretty new here. Some time ago i started creating an web interface for managing my contacts. So I came ...

98. dataTable push feature    forum.primefaces.org

08 Feb 2011, 15:58 by c_java dataTable push feature I'm new to primefaces and have built a test datatable screen. We are looking to move from our internal trading application using ...

99. Something went wrong with dataTable    forum.primefaces.org

>> << igorcc Posts: 28 Joined: 03 Sep 2009, 13:13 09 Feb 2011, 21:19 by igorcc Something went wrong with dataTable Dear All, Using dataTable component from Primefaces 2.2, I stuck ...

100. p:dataTable not displaying    forum.primefaces.org

11 Feb 2011, 08:23 by dhanaraja p:dataTable not displaying I am using dataTable like this-->>

...