jQuery UI Widgets Forums Grid Edit mode issues with wrapped cells

This topic contains 2 replies, has 2 voices, and was last updated by  Dimitar 9 years, 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • MaxWell
    Participant

    Good day!

    I’m new jqWidjets user. And first of all let me say that this framework is very impressive. Thanks a lot to authors.

    But I have some trubles:
    1. If I try to edit a multiline (wrapped) cells, then a row shrinks and it looks ugly.
    Try to click on column 2 cell to reproduce:

    $(document).ready(function () {
    	var data = [{ '1': 'Short','2': 'Long sentence to wrap it by two or more lines'}];
    
    	var source =
    	{
    		datatype: "json",
    		localdata: data,
    	};
    	
    	var dataAdapter = new $.jqx.dataAdapter(source);
    	
    	$("#jqxgrid").jqxGrid(
    	{
    		editable: true,
    		autorowheight: true,
    		pageable: true,
    		source: dataAdapter,
    		columns: [
    			{ text: 'Column 1', datafield: '1', width:70 },
    			{ text: 'Column 2', datafield: '2', width:70 },
    		],
    	});
    });
    

    2. In second example edit mode can not activates by clicking on column 2 cell:

    $(document).ready(function () {
    	var data = [{ '1': 'Short','2': 'Long sentence to wrap it by two or more lines'}];
    
    	var source =
    	{
    		datatype: "json",
    		localdata: data,
    	};
    	
    	var dataAdapter = new $.jqx.dataAdapter(source);
    	
    	$("#jqxgrid").jqxGrid(
    	{
    		editable: true,
    		autoheight: true,
    		autorowheight: true,
    		source: dataAdapter,
    		columns: [
    			{ text: 'Column 1', datafield: '1', width:70 },
    			{ text: 'Column 2', datafield: '2', width:70 },
    		],
    	});
    });
    

    May be something I doing is wrong. Help please.


    MaxWell
    Participant

    Sorry I forgot to say that jQWidgets v3.3.0 is used.


    Dimitar
    Participant

    Hello MaxWell,

    Unfortunately, the autorowheight setting does not work when a cell has entered edit mode. This issue will be fixed in the next version of jQWidgets, expected in mid-June. You can use pop-up editing as a workaround until then.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.