jQWidgets Forums
Forum Replies Created
-
Author
-
November 9, 2019 at 6:04 am in reply to: jqxscrollview image rotate left and right jqxscrollview image rotate left and right #107288
Hello Hristo,
Big Thanks for help.
Here i have another query.
What if a cell contains multiple or big length value with 2 -4 lines.
And i want to make it in single line with some fix length and it should show some dotted line.
For eg. a cell contains – (bjsbdkasjdolwij sldkmasldkj ihiwdask jslkdjaklsd) and i want to be (bjsbdk…)
Here is a jsfiddle-
http://jsfiddle.net/expertslogic/nqtdahep/1/Thanks
November 4, 2019 at 10:37 am in reply to: jqxscrollview image rotate left and right jqxscrollview image rotate left and right #107233Thanks Hristo for your help.. and its work
October 25, 2019 at 10:43 am in reply to: jqxscrollview image rotate left and right jqxscrollview image rotate left and right #107147Is anyone to answer my above question ? still waiting….
October 24, 2019 at 11:27 am in reply to: jqxscrollview image rotate left and right jqxscrollview image rotate left and right #107134Hello Hristo
Thank you so much for your reply. I’m new to jqwidgets and i’m really confused about this.
This is the updated fiddle. please go through it. This is what i want to do. Adding a view column instead of button it should be view icon and it should be clickable.
http://jsfiddle.net/expertslogic/nqtdahep/On click of it, it should popup and show the image of like column name country.
Thanks
Hi everyone,
I’ve the same question regarding column image.
As per this, the first column is used as an image. I want it to be clickable. My code has the view option image as the last column. so when the user clicks on the image, modal popup appears and inside in it, it should show image.Can anyone help me ?
October 24, 2019 at 5:55 am in reply to: jqxscrollview image rotate left and right jqxscrollview image rotate left and right #107121Hello Hristo,
I think from here you can get an idea what i’m talking about.
I’ve implemented the tree grid hierarchy from the below link.
https://www.c-sharpcorner.com/article/using-tree-grid-with-asp-net-mvc-4/
Now the thing is I want to add the new column icon as “View” and on click on that particular view cell it should popup the model and show the existing image inside in it.NOTE: In that link the tree grid is generated using with entity framework and i have done without entity framework.
PLease help me ??
October 24, 2019 at 5:48 am in reply to: on jqxgrid cell click open new jqxgrid in popupwind on jqxgrid cell click open new jqxgrid in popupwind #107120Hello everyone,
I’ve implemented the tree grid hierarchy from the below link.
https://www.c-sharpcorner.com/article/using-tree-grid-with-asp-net-mvc-4/
Now the thing is I want to add the new column icon as “View” and on click on that particular view cell it should popup the model and show the existing image inside in it.NOTE: In that link the tree grid is generated using with entity framework and i have done without entity framework.
PLease anyone there to help me ??
October 23, 2019 at 2:01 pm in reply to: jqxscrollview image rotate left and right jqxscrollview image rotate left and right #107114Hello Hristo,
Thanks for your reply.
I’m not sure whether my question is relevant to this topic or not..
Actually I’m facing problem on creating tree grid where i suppose to create a grid with 10 columns. One of them is column named “View”, where on click of it i need to open a image of that particular document.The data of the grid is coming from the table.
ON click of view button it shows the alert message “Object Object”
PLease help me get out of it
October 23, 2019 at 6:41 am in reply to: jqxscrollview image rotate left and right jqxscrollview image rotate left and right #107096Hello everyone, I want to click on view button and need to open the image in DocumentShowPopupID. Also I’m getting the value in dataset(ds) where data is bind in controller method. Anyone pls help me ….
@section scripts {
<style>
body { width: 100%; height: 100%; }
.jqx-grid-cell input[type=”button”]{
width:100%;
z-index:10;
opacity:0.01!important;
z-index:5!important;
display:block!important;
}
</style><link rel=’stylesheet’ href=’https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css’>
<link href=”~/jqwidgets/styles/jqx.base.css” rel=”stylesheet” />
<script src=”~/Scripts/jquery-1.11.1.min.js”></script>
<script src=”~/jqwidgets/jqxcore.js”></script>
<script src=”~/jqwidgets/jqxbuttons.js”></script>
<script src=”~/jqwidgets/jqxscrollbar.js”></script>
<script src=”~/jqwidgets/jqxdatatable.js”></script>
<script src=”~/jqwidgets/jqxtreegrid.js”></script>
<script src=”~/jqwidgets/jqxdata.js”></script>
<script src=”~/jqwidgets/jqxcheckbox.js”></script>
<script src=”~/jqwidgets/jqxlistbox.js”></script>
<script type=”text/javascript”>
$(document).ready(function () {
// prepare the data
var source =
{
dataType: “json”,
dataFields:
[
{ name: ‘PartAssemblyId’, type: ‘number’ },
{ name: ‘ComponentName’, type: ‘string’ },
{ name: ‘PartNo’, type: ‘string’ },
{ name: ‘OEMRev’, type: ‘string’ },
{ name: ‘DEPartNo’, type: ‘string’ },
{ name: ‘Quantity’, type: ‘number’ },
{ name: ‘ParentId’, type: ‘number’ },
{ name: ‘TypeName’, type: ‘string’ },
{ name: ‘TAPType’, type: ‘string’ },
{ name: ‘DirectoryId’, type: ‘number’ },
{ name: ‘ReferenceId’, type: ‘string’ },
{ name: ‘IsManualDEPart’, type: ‘number’ },
{ name: ‘RevNo’, type: ‘string’ },
{ name: ‘RevRemark’, type: ‘string’ },
{ name: ‘CreatedBy’, type: ‘number’ },
{ name: ‘CreatedDate’, type: ‘number’ },
{ name: ‘ModifiedBy’, type: ‘number’ },
{ name: ‘ModifiedDate’, type: ‘number’ },
{ name: ‘Status’, type: ‘string’ },
{ name: ‘UserId’, type: ‘number’ },
{ name: ‘FolderCount’, type: ‘string’ },
{ name: ‘Level’, type: ‘number’ },
{ name: ‘View’, type: ‘string’ }],
hierarchy:
{
keyDataField: { name: ‘PartAssemblyId’ },
parentDataField: { name: ‘ParentId’ }
},
// id: ‘PartAssemblyId’,
url: ‘GetEmployees’,
};var dataAdapter = new $.jqx.dataAdapter(source);
// call jqxTreeGrid$(“#treeGrid”).jqxTreeGrid(
{
width: 1000,
height: 500,
source: dataAdapter,
altRows: true,
columnsResize: true,
//pageable: true,
//sortable: true,
ready: function () {
$(“#treeGrid”).jqxTreeGrid(‘expandRow’, ‘2’);
//alert();
},
//choose the columns you wish to display on screen
columns: [
{ text: ‘OEM Part Number’, dataField: ‘PartNo’, width: 200 },
{ text: ‘Level’, dataField: ‘Level’, width: 50 },
{ text: ‘Type Name’, dataField: ‘TypeName’, width: 100 },
{ text: ‘Qty’, dataField: ‘Quantity’, width: 50 },
{ text: ‘Part Description’, dataField: ‘ComponentName’, width: 200 },
{ text: ‘TSME PartNo’, dataField: ‘DEPartNo’, width: 200 },
{ text: ‘Status’, dataField: ‘Status’, width: 100 },
{ text: ‘View’, dataField: ‘View’, width: ‘5%’, columntype: ‘button’,
cellsrenderer: function (row, columnfield, value, defaulthtml, columnproperties) {
return ‘<input type=”Button” onClick=”buttonclick()” value=”button” /><i class=”fa fa-eye “> </i>’;
}, buttonclick: function (row) {
$(“#treeGrid”).jqxTreeGrid(‘selectrow’, row);
}
},
{ text: ‘Additional Docs’, dataField: ‘AdditionalDocs’, width: 100, columntype: ‘button’,
cellsrenderer: function (row, columnfield, value, defaulthtml, columnproperties) {
return ‘<input type=”Button” onClick=”buttononclicking()” value=”button”/><i class=”fa fa-pencil “> </i>’;
},
},
{ text: ‘Remarks’, dataField: ‘RevRemark’, width: 200 }]
});
});
</script>
<script type=”text/javascript”>
var buttonclick = function ()
{
// alert(‘click’);
var id = $(this).attr(‘treeGrid’)
alert(id);
$(“#DocumentShowPopupID”).show();
}
</script>
<div class=”modal” id=”DocumentShowPopupID”>
<div class=”modal-dialog”>
<div class=”modal-content” style=”height: 680px; width: 218%; margin-left: 7%” id=”MDContent”><!– Modal Header –>
<div class=”modal-header”>
<input type=”hidden” id=”DocId”>
<h class=”modal-title”>Preview Document</h>
<button type=”button” data-dismiss=”modal” id=”” title=”Close” onclick=”closeForm()” style=”border:none; background-color:transparent; float:right;”></button>
</div><!– Modal body –>
<br />
<div class=”row”>
<div class=”col-lg-6″>
<div>
<!–<embed src=”” id=”MaxframePreview” style=”width: 208%; height: 600px” /> —>
@*<iframe id=”MaxframePreview” style=”width: 185%; height: 500px; margin-left: 14%”></iframe>*@
<iframe id=”EdittabframeOverview” style=”width: 185%; height: 500px; margin-left: 14%”></iframe>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
function closeForm() {
document.getElementById(“DocumentShowPopupID”).style.display = “none”;
}
</script>
<script type=”text/javascript”>
var buttononclicking = function (event) {
// alert(‘clicking’);
var id = $(this).attr(“id”)
var url = “@Url.Action(“ViewWholeAssemPart”, “EBOM_DocumentControl”)”;
window.location.href = url;
}
</script>}
October 18, 2019 at 1:15 pm in reply to: Expand JqxTreeGrid row and sub row based on button click Expand JqxTreeGrid row and sub row based on button click #107046Hello angulardev19..
you can check this code which is similar to your code for expand and collapse.@section scripts {
<style>
body { width: 100%; height: 100%; }
.jqx-grid-cell input[type=”button”]{
width:100%;
z-index:10;
opacity:0.01!important;
z-index:5!important;
display:block!important;
}
</style>
<link rel=’stylesheet’ href=’https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css’>
<link href=”~/jqwidgets/styles/jqx.base.css” rel=”stylesheet” />
<script src=”~/Scripts/jquery-1.11.1.min.js”></script>
<script src=”~/jqwidgets/jqxcore.js”></script>
<script src=”~/jqwidgets/jqxdata.js”></script>
<script src=”~/jqwidgets/jqxbuttons.js”></script>
<script src=”~/jqwidgets/jqxscrollbar.js”></script>
<script src=”~/jqwidgets/jqxdatatable.js”></script>
<script src=”~/jqwidgets/jqxtreegrid.js”></script><script type=”text/javascript”>
$(document).ready(function () {
// prepare the data
var source =
{
dataType: “json”,
dataFields:
[
{ name: ‘PartAssemblyId’, type: ‘number’ },
{ name: ‘ComponentName’, type: ‘string’ },
{ name: ‘PartNo’, type: ‘string’ },
{ name: ‘OEMRev’, type: ‘string’ },
{ name: ‘DEPartNo’, type: ‘string’ },
{ name: ‘Quantity’, type: ‘number’ },
{ name: ‘ParentId’, type: ‘number’ },
{ name: ‘TypeName’, type: ‘string’ },
{ name: ‘TAPType’, type: ‘string’ },
{ name: ‘DirectoryId’, type: ‘number’ },
{ name: ‘ReferenceId’, type: ‘string’ },
{ name: ‘IsManualDEPart’, type: ‘number’ },
{ name: ‘RevNo’, type: ‘string’ },
{ name: ‘RevRemark’, type: ‘string’ },
{ name: ‘CreatedBy’, type: ‘number’ },
{ name: ‘CreatedDate’, type: ‘number’ },
{ name: ‘ModifiedBy’, type: ‘number’ },
{ name: ‘ModifiedDate’, type: ‘number’ },
{ name: ‘Status’, type: ‘string’ },
{ name: ‘UserId’, type: ‘number’ },
{ name: ‘FolderCount’, type: ‘string’ },
{ name: ‘Level’, type: ‘number’ }],
hierarchy:
{
keyDataField: { name: ‘PartAssemblyId’ },
parentDataField: { name: ‘ParentId’ }
},
id: ‘PartAssemblyId’,
url: ‘GetEmployees’,
};
var dataAdapter = new $.jqx.dataAdapter(source);
// call jqxTreeGrid$(“#treeGrid”).jqxTreeGrid(
{
width: 1000,
height: 500,
source: dataAdapter,
//pageable: true,
//sortable: true,
ready: function () {
$(“#treeGrid”).jqxTreeGrid(‘expandRow’, ‘2’);
//alert();
},
//choose the columns you wish to display on screen
columns: [
{ text: ‘TSME PartNo’, dataField: ‘DEPartNo’, width: 200 },
{ text: ‘Part Description’, dataField: ‘ComponentName’, width: 200 },
{ text: ‘Level’, dataField: ‘Level’, width: 100 },
{ text: ‘Type Name’, dataField: ‘TypeName’, width: 100 },
{ text: ‘Qty’, dataField: ‘Quantity’, width: 100 },
{ text: ‘Status’, dataField: ‘Status’, width: 100 },
{ text: ‘OEM Part No’, dataField: ‘PartNo’, width:100 },
{ text: ‘Remark’, dataField: ‘RevRemark’, width: 100 },
{ text: ‘View’, dataField: ‘View’, width: ‘5%’, columntype: ‘button’,
cellsrenderer: function (row, columnfield, value, defaulthtml, columnproperties) {
return ‘<i class=”fa fa-pencil fa-lg fa-fw”> </i>’;
},
buttonclick: function (row) {
alert(‘hey ‘ + row);
}
}]
});
});
</script>
} -
AuthorPosts