jQWidgets Forums
Forum Replies Created
-
Author
-
December 20, 2012 at 12:02 pm in reply to: Collapse the nested grid columns Collapse the nested grid columns #12643
hi Dimitar,
i try to get the nested band row details . the row details not coming correctly.Ex :
$(“#hideRowDetails”).click(function () {
$(‘#jqxgrid’).jqxGrid(‘hiderowdetails’, 1);
var ls = $(‘#jqxgrid’).jqxGrid(‘getrowdetails’, 1);
alert(ls);
var rows = $(‘#grid’).jqxGrid(‘getrows’);
alert(rows);
});in the above code the rows return only last few rows returned.
December 20, 2012 at 9:20 am in reply to: Need key down Event in Grid Need key down Event in Grid #12635Thanks Dude… am also search the alternate solution …
Solution :
$("#grdAssigned").bind('keydown', function (event) { var rowindex = $('#grdAssigned').jqxGrid('getselectedrowindex'); var rowcount = $("#grdAssigned").jqxGrid('getdatainformation').rowscount; if (event.keyCode == '46') { // Delete the Selected Row var selectedrowindex = $("#grdAssigned").jqxGrid('getselectedrowindex'); var rowscount = $("#grdAssigned").jqxGrid('getdatainformation').rowscount; if (selectedrowindex >= 0 && selectedrowindex < rowscount) { var id = $("#grdAssigned").jqxGrid('getrowid', selectedrowindex); var commit = $("#grdAssigned").jqxGrid('deleterow', id); } } else if (event.keyCode == '9') { // Tab Movement with in Grid if (rowcount == rowindex + 1) { // If final row then Insert New Row var datarow1 = generaterow1(); var commit = $("#grdAssigned").jqxGrid('addrow', 1, datarow1); $('#grdAssigned').jqxGrid('selectrow', rowindex + 1); $('#grdAssigned').jqxGrid('focus'); } else { // Otherwise move the next row by using tab $('#grdAssigned').jqxGrid('selectrow', rowindex + 1); } } else if (event.keyCode == '39') { } });
hi Peter,
you have taken this requirement in your road map.With Regards,
Ravikumar.RHi dude ,
i faced the grid display issue , remove the enter character in any column . this character not supported . replace that character and use the grid will bind .December 19, 2012 at 12:21 pm in reply to: (RTL) Right to Left Option (RTL) Right to Left Option #12587Thanks dude i will discuss with my team one more thing i have list of requirements . how i will contact u .
i post in forum or mail the requirement, now we are in analyzing face to decide the web development tool .
Now comparison process is going on , i will take care of JQWidgets tools .Thanks for your best support.
December 19, 2012 at 11:02 am in reply to: (RTL) Right to Left Option (RTL) Right to Left Option #12579Hi dude,
Thanks for your information . any approximate date for release this feature.
just for idea because we plan to use this tool for our development , i need this option i want to convince management
Give me any positive feedback….
With Regards,
Ravikumar.RDecember 19, 2012 at 10:50 am in reply to: Multi Column With Header Support Multi Column With Header Support #12578am using this coding i need header for this
$(document).ready(function () {
$(document).ready(function () {
var theme = getTheme();
var url = “sampledata/customers.txt”;// prepare the data
var source =
{
datatype: “json”,
datafields: [
{ name: ‘CompanyName’ },
{ name: ‘ContactName’ }
],
id: ‘id’,
url: url,
async: false
};
var dataAdapter = new $.jqx.dataAdapter(source);
// Create a jqxComboBox
$(“#jqxWidget”).jqxComboBox({
selectedIndex: 0, source: dataAdapter, displayMember: “ContactName”, valueMember: “CompanyName”, width: 350, height: 25, theme: theme,
renderer: function (index, label, value) {
var datarecord = dataAdapter.originaldata[index];
var table = ”;
if (index == 0) {
table = table + ‘SelectCodeCompany Name’;
table = table + ”;
table = table + ”;
}
table = table + ‘12345’ + datarecord.ContactName + ”;
return table;
}});
table =”});
})December 19, 2012 at 10:34 am in reply to: Multi Column With Header Support Multi Column With Header Support #12575ya am using this is for dropdown ( with check box option ) . But in combo i need this option.
because am using this dropdown button then i cant edit the header like auto complete and searching.Hi Dimitar,
Thanks for your information Dude…With Regards,
Ravikumar.RHi Dimitar,
Thanks for your response . its working fine.
i have one more clarification in tab page movement. i have place the combos contiguously . tab movement is not proper.
double tab then only it will focused.This is my code
function CreateCombo(ComboId, ComboData, ComboColumns, ComboDisplay, ComboValue,ComboAutoHeight) {
var theme = ”;
var cmbData = document.getElementById(ComboData).value;
var url = cmbData.replace(/#/g, ‘”‘);
var lscode = ComboValue;
var lsname = ComboDisplay;
var lsCols = ComboColumns.split(‘,’);
var source =
{
datatype: “json”,
datafields: [
{ name: lsCols[0] },
{ name: lsCols[1] }
],
id: ‘id’,
localdata: url,
async: false
};var dataAdapter = new $.jqx.dataAdapter(source);
$(ComboId).jqxComboBox({ selectedIndex: -1, source: dataAdapter, displayMember: lsname, autoDropDownHeight: ComboAutoHeight, dropDownHeight: 130, valueMember: lscode, width: 200, height: 20, theme: theme });
}
$(document).ready(function() {
CreateCombo(‘#jqxProduct’, ‘product’, ‘CompanyName,ContactName’, ‘ContactName’, ‘CompanyName’,true);
CreateCombo(‘#jqxTeam’, ‘teamname’, ‘CompanyName,ContactName’, ‘ContactName’, ‘CompanyName’,true);
CreateCombo(‘#jqxMessageType’, ‘messagetype’, ‘CompanyName,ContactName’, ‘ContactName’, ‘CompanyName’, true);
CreateCombo(‘#jqxMessageIcon’, ‘messageicon’, ‘CompanyName,ContactName’, ‘ContactName’, ‘CompanyName’, true);
CreateCombo(‘#jqxButtonStyle’, ‘buttonstyle’, ‘CompanyName,ContactName’, ‘ContactName’, ‘CompanyName’);
CreateCombo(‘#jqxHelpId’, ‘helpid’, ‘CompanyName,ContactName’, ‘ContactName’, ‘CompanyName’);});
var item_product = $(“#jqxProduct”).jqxComboBox(‘getSelectedItem’);
if (item_product == null) {
alert(“Please select value in Product”);
// how to focus the JqxProduct combo
return false;
}In this JqxProduct Combo i want to focus …..
-
AuthorPosts