jQWidgets Forums

Forum Replies Created

Viewing 10 posts - 31 through 40 (of 40 total)
  • Author
    Posts

  • raj
    Participant

    Hi Peter,

    Thanks for your quick turnaround.

    Actually, I applied the custom style using the CSS class name i.e. .jqx-grid-groups-row. Hence my custom style has got applied to both main group and sub group with that class names.

    After applying the custom style i.e. bg color, a white space is noticeable at the right hand side of the grid only for the Main Group Row because the width of the row is not fully stretched alike sub group row.

    I hope you understand what I’m trying to say.

    Note: This white space is not appearing when there is only one grouping applied to the grid.

    Looking for your response.

    Thanks,
    Raj


    raj
    Participant

    Hi Peter,

    Thanks for your quick turnaround & it helps me. Now it is working fine.

    in reply to: jqxGrid | Export Data jqxGrid | Export Data #73438

    raj
    Participant

    Dimitar,

    Thanks for your quick turnaround.

    Actually, I’m working in JSP and I need a logic to export data from the server-side alike “save-file.php“.

    Could you please help me?

    Regards,
    Raj


    raj
    Participant

    Folks,

    I found the issue and got it resolved. 🙂

    Cheers,
    Raj


    raj
    Participant

    Hi,

    Can someone from the jQWidgets team reply to my post. I’m wondering why it is not happening for static HTML prototype.

    Please suggest me what could be the issue and solution. I’ve been breaking my head.

    Thanks in advance.

    Cheers,
    Raj


    raj
    Participant

    Hi Buddy,

    Thanks for your reply.

    Already I tried your approach and then only I implemented the same inside the jqxWindow. It was not working.

    If possible, can you please provided me an example implementation of what I’m trying to achieve i.e. inside the jqxWindow?

    Looking for your reply.

    Cheers,
    Raj


    raj
    Participant

    In addition to my above requirement, is it possible to change the columntype from dropdownlist to textbox based on condition for a particular column?

    Looking for solution.

    Thanks,
    Raj

    in reply to: Grid | Get displayed row index Grid | Get displayed row index #67067

    raj
    Participant

    Hi,

    Can somebody help me on this issue? I badly need to get the displayed row index to set cell value after filter.

    Looking for a solution.

    Regards,
    Raj

    in reply to: Grid | Get displayed row index Grid | Get displayed row index #67054

    raj
    Participant

    Hi Peter,

    Thanks for your quick turnaround.

    Actually, I need to set cell value to the filtered rows.

    In Detail:
    In my grid I’ve a column defined with columnType:”checkbox” and one parent checkbox at the column header to Check All/ Un-check All.

    Here BEFORE applying filter, Check All/ Un-check All is working fine and AFTER filter it is not working as expected. I achieved the Check All/ Un-check All functionality by getting the rows count and set cell value by passing the index & parent checkbox checked state.

    Following is the piece of code which I’m trying,

    {text: '', datafield: 'linkStatus',columntype: 'checkbox', filterable: false, groupable: false, sortable: false, width: "10%",
    	renderer: function () {
    		return '<div class="checkText" style="text-align:center;line-height:25px"><label>Linked To Domain</label><br /><div id="linkedToDomain" style="left: 50%; margin-left: -10px; top:34px; position:absolute"></div></div>';
    	},
    	rendered: function (element) {
    		var linkStatusChkbox = $(element).find('#linkedToDomain');
    		$(linkStatusChkbox).jqxCheckBox({ theme: theme, width: 16, height: 16, animationShowDelay: 0, animationHideDelay: 0});
    		$(linkStatusChkbox).on('change', function (event) {
    			//Get parent checkbox state
    			var checked = event.args.checked;
    			
    			//Method 1
    			var rowscount = $("#empGrid").jqxGrid('getdatainformation').rowscount;
    			for (var i = 0; i < rowscount; i++) {
    				$("#empGrid").jqxGrid('setcellvalue', i, 'linkStatus', checked);
    			}
    			
    			//Method 2
    			var displayRows = $('#empGrid').jqxGrid('getdisplayrows');
    			for (var i = 0; i < displayRows.length; i++) {
    				var rowData = displayRows[i];
    				$("#empGrid").jqxGrid('setcellvalue', rowData.boundindex, 'accountNumber', checked);
    			}
    		});
    	}
    }

    Both of the above Method 1 & 2 doesn’t give the expected result.

    Please help me, how to set the cell value after filtering based on the current displayed row index.

    Looking for a reply.

    Regards,
    Raj


    raj
    Participant

    Hi Perter,

    I found the issue and it is working fine.

    Actually in my JSON, I’ve one key as “disabled” hence somehow the checkedlist checkboxes in dropdown (filter row) became non-editable.

    {"compName":"comp1","registeredAddr":"xyz","updatedBy":"raj","disabled":"Y"}

    Now I renamed the key and the checkboxes inside filter drop down is working fine.

    Kindly check with the jqxGrid library, why the grid behavior has got changed.

    Regards,
    Raj

Viewing 10 posts - 31 through 40 (of 40 total)