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

Editing expanded row details #35

Closed
GoogleCodeExporter opened this issue May 24, 2015 · 3 comments
Closed

Editing expanded row details #35

GoogleCodeExporter opened this issue May 24, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Jovan, this is probably more an enhancement request than a question, I think:

Background:
I have a column (8) with lots of text that will mess up the look of datatables 
so it needs to be hidden. Datatables provide a way to display any column via 
row details i.e. call fnFormatDetails  to display the hidden column e.g. 
aData[8]

Question/Request is to be able to edit the info from aData[8] in 
the show row details form with your editables plugin?

Datatables row details doc:
http://www.datatables.net/examples/server_side/row_details.html

Similar request:
http://datatables.net/forums/comments.php?DiscussionID=4175


Thanks

Original issue reported on code.google.com by yfn...@gmail.com on 15 Jun 2011 at 7:52

@GoogleCodeExporter
Copy link
Author

Hi,

I understand what you need but I would need to find some generic way to handle 
this. If I put in the plugin code that handles expanding details this is little 
bit out of scope of this plugin and also there will be some constrants 
regarding the way how expanded rows are handled.
If you are using custom code for expanding isn't is easier to locate details 
row diretl and apply expandable directly on that row?

Original comment by joc...@gmail.com on 17 Jun 2011 at 6:26

  • Changed title: Editing expanded row details
  • Added labels: Priority-Low, Type-Enhancement
  • Removed labels: Priority-Medium, Type-Defect

@GoogleCodeExporter
Copy link
Author

Jovan, I haven't put any code to expand the row details yet as it's an extra 
column/step and I would like to keep it as simple as possible so I'm exploring 
what I can do with the existing widgets.


Ideally, the row details/add. details column are not needed i.e., just use the 
existing editable column in the row, but with it being constrained to only 
display a limited number of rows normally e.g. 3 or 1 row, so that the display 
of the table don't get messed up if a particular row has too much details. When 
it's clicked for edit, the editable textarea should then expand to it's full 
height per text e.g. 20 rows etc. Not sure if there's such an option though. 
Enhancement?

Original comment by yfn...@gmail.com on 17 Jun 2011 at 8:00

@GoogleCodeExporter
Copy link
Author

I cannot put this as a part of the plugin it is too custom. It would be best if 
you could call .editable() directly in the function where you initiate 
expanding.

Jovan

Original comment by joc...@gmail.com on 29 Sep 2011 at 7:13

  • Changed state: WontFix

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

No branches or pull requests

1 participant