jQWidgets Forums
jQuery UI Widgets › Forums › Grid › MultiLine editor
This topic contains 8 replies, has 4 voices, and was last updated by Peter Stoev 10 years, 11 months ago.
-
AuthorMultiLine editor Posts
-
Hi
What’s the best way to edit multiline text in a grid?
The createeditor property supplies a function that sets the edit control to be used to edit cells in a column. The control must be a jqwidget control. Is there a multiline text edit control that can be used? i.e. textarea are rich text editor.
If not (really?) then a reasonably experienced JavaScript/JQuery developer could create one, right? i.e. extend jqwidgets to include a new quwidgets based class that is a wrapper for a textarea control.
The alternative method is to create a popup form to edit the row. However, in my case this is not an acceptable solution because I am working on an existing web application that already has multiline inline editing functionality and users do not want to lose that.
Thanks,
JulesHi Jules,
Adding custom editors in jqxGrid is not supported. The widget has some built-in editors such as ComboBox, DropDownList, CheckBox, TextBox, DateTimeInput and NumberInput. Adding of text area editor is something which is unfortunately missing in the widget. I will create a work item about this. I suppose that experienced web developer will be able to edit the unminimized version of the code and to add additional editors, if necessary.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks Peter
I suppose that experienced web developer will be able to edit the unminimized version of the code and to add additional editors, if necessary.
OK, I understand that this is currently the only way to get an inline multiline editor in a grid
Maybe someone has already done this? Is there a place where community / 3rd party jqwidgets extensions are posted?
Adding custom editors in jqxGrid is not supported.
That’s fair, I would not expect you to help me write my own code and fix my mistakes 🙂
However, is extending jqwidgets something that
a) you encourage e.g. you provide documentation, examples, tutorials, demos
b) you neither encourage nor discourage
c) you discourage e.g. it’s not intended, api changes will probably break extensions etcTo be honest, I don’t really want to start extending jqwidgets but I need to know what my options are.
Adding of text area editor is something which is unfortunately missing in the widget. I will create a work item about this.
Thankyou. I think a multiline editor would be very useful for a lot of developers using jqwidgets. If a timescale for release of a multiline editor becomes available, I’d be grateful if you could reply here to let me know.
Hi Jules,
– Unfortunately, we are not aware whether there are extensions of our widgets anywhere. At least there aren’t any posts in our Forum.
– The API is documented here: http://www.jqwidgets.com/jquery-widgets-documentation. We don’t provide documentation of the private API i.e for internal methods, settings and fields.
– We can’t provide a time-frame when the feature will be implemented as it is not planned yet. We post our development plans here: http://www.jqwidgets.com/roadmap/Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter
We looked at a lot of jquery libraries with grids. jquwidgets was my favourite overall for many reasons. Support was very responsive too, thanks Peter. However, the multiline inline edit was a basic requirement so we are going with jqGrid/jqSuite.
Thanks for your help
JulesPeter great products here. I’m fairly new using the grid tool but I have run into a snag.
How are we supposed to edit large text descriptions with multiple paragraphs? I absolutely need to edit large amounts of data 2000-4000 chars that are stored in one column and it’s a nightmare to do it on one line with the basic single line input editor and have to scroll left/right.
For instance if you used your own Grid tool to edit these forum posts which are stored in a db somewhere how would you do it? These posts have lots of text and line feeds, carriage returns, etc.
Peter, what do you suggest we do to edit this data in jqxGrid?
Has anyone done a simple popup div custom editor so we can edit the data better? It seems that is the only way to do it right?
Thanks!
Hi actionjackson,
If you wish, you can create Custom TextArea editor and use it into the Grid.
Example with Custom Editors: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/cellcustomediting.htm?arctic
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThis is a deal breaker for me…
I’m currently at this stage:
> For testing applications using jQWidgets.For the most part jqxWidgets has sufficed but I’m not that impressed with it (although the documentation is worthy of some merit). The main reason for choosing jqxWidgets is because of the splitter which allows me to create simple layouts. A few components have issues with this and determining the correct dimensions. However, I can fix those.
I’m disturbed that nothing has been done about this issue in over a year.
> I suppose that experienced web developer will be able to edit the unminimized version of the code and to add additional editors, if necessary.
The fact that you say this is also disturbing. My way around it is to use the grid template feature but this is still annoying as much of the content is short and does not warrant a dropdown editor. For many multiline – inline editing is not only a must but expected basic functionality. The lack of a textarea (text only editor) is also disturbing. Developers are using jqxWidget’s specifically to avoid what you are asking us to do so that we can focus on core issues.
At this point I am still not decided if I’m going to go ahead and use jqxWidgets in a manner requiring a license or not. I don’t like the idea of paying for DIY.
Hi joey,
We have a set of built-in editors and a way to create custom editors. If jQWidgets meets your application’s requirements, you can use it in your projects. That’s the purpose of the free 30 day evaluation.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.