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 which indicates that the row should be in edit mode by default.
An example of when this would be nice is if you have a row with empty values then the row could remain in edit mode.
Allow datatable edit mode to be initially on
I really need this feature. How is this going along? We are planning to use the dataTable for initial data input. Therefore we need the edit mode on initially so the users don't have to click the rowEditor button.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
No plans in near future roadmap, consider sponsoring this feature if it is vital.
Is it possible to contribute by adding the feature here?optimus.prime wrote:No plans in near future roadmap, consider sponsoring this feature if it is vital.
http://repository.primefaces.org/org/pr ... ources.jar
How is the submission done?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
We don't accept major feature implementations from 3rd parties, only minor bug fixes. So although code is open, PrimeFaces is not managed like an ASF project. Only Prime Teknoloji developers can change the code. Same model of Spring Framework.
Gotcha. Thanks Optimus Prime.optimus.prime wrote:We don't accept major feature implementations from 3rd parties, only minor bug fixes. So although code is open, PrimeFaces is not managed like an ASF project. Only Prime Teknoloji developers can change the code. Same model of Spring Framework.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
So you can create a feature request for this now.
I have found out that this can be a workaround.
Code: Select all
<p:column headerText="Data" style="width: 130px;">
<p:inputText value="#{data.data}" />
</p:column>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests