Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add multi columns form option for Create dialog and Edit Dialog #2231

Open
wants to merge 58 commits into
base: master
Choose a base branch
from

Conversation

birddevelper
Copy link

I have been using this precious plugin for 5 years. Many times my clients complained about forms vertical style, because it goes out of screen area in case of about 7+ number of fields. Regardless of this issue, sometimes developers need to have wide form dialog instead of long vertical one.

I added two options createFormColumns and editFormColumns to jTable. The default number is 1 for both options.

Create form with 14 fields in one column :

you can see that the form goes behind the taskbar and the save button can't be reached.
image

Create form with 14 fields in two columns :

image

@hikalkan hikalkan added this to the v2.7.0 milestone Feb 16, 2020
@hikalkan hikalkan self-requested a review February 16, 2020 18:56
@hikalkan
Copy link
Member

Thank you for your contribution, this was a highly requested feature.

@axelmoe
Copy link

axelmoe commented Feb 19, 2020

sounds very very interesting! what timeline is planned for v2.7?
and by the way, many many thanks for this great plugin

HI hikalkan,
any updates??

Add additional fields to row delete POST request data by setting 'delete' option of the field to true
Add additional fields to row delete POST request data if  'delete' option of the field is true  (default value is true)
Add additional fields to row deletion POST request data by setting 'delete' option of the field to true (default value is true)
Record preview feature added.
@NonLinearThoughts
Copy link

NonLinearThoughts commented Aug 2, 2024

It is useless if we can't have it. The request is about 2020 and now we have 2024. I give up this plugin. It is not so flexible as I thought and it seems as a dead project even if there are too many issues that can be solved. All fields in one vertical column, headers are covered when the header text is greater that header width (although the broken text goes below but is not visible and is covered by the first line of the table of entries), There is not even a hint of how to have autocomplete feature in the form's text field...

@birddevelper
Copy link
Author

It is useless if we can't have it. The request is about 2020 and now we have 2024. I give up this plugin. It is not so flexible as I thought and it seems as a dead project even if there are too many issues that can be solved. All fields in one vertical column, headers are covered when the header text is greater that header width (although the broken text goes below but is not visible and is covered by the first line of the table of entries), There is not even a hint of how to have autocomplete feature in the form's text field...

You can use my fork, I have added some other features

@NonLinearThoughts
Copy link

NonLinearThoughts commented Aug 2, 2024

It is useless if we can't have it. The request is about 2020 and now we have 2024. I give up this plugin. It is not so flexible as I thought and it seems as a dead project even if there are too many issues that can be solved. All fields in one vertical column, headers are covered when the header text is greater that header width (although the broken text goes below but is not visible and is covered by the first line of the table of entries), There is not even a hint of how to have autocomplete feature in the form's text field...

You can use my fork, I have added some other features

It doesn't work. It throws errors. The problem is with the first self.options.recordPreview in the function _addColumnsToHeaderRow where the self is not defined as var self=this;. When I added it was ok.
ALSO there is a problem with the appear of date columns and fields (datepicker). The month part is 00 to all dates!!!
I'm really curious how it might have worked for you!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants