jQWidgets Forums
Forum Replies Created
-
Author
-
Hi Ivo Zhulev,
It throws error open is not defined.
open(value:any) {
console.log(value);
}<select onclick=”open(value)”>Click me</select> ’ +
‘+<option>’ + ‘Edit’ + ‘</option>’ +
‘<option>’ + ‘Delete’ + ‘</option>’ +
‘</select>April 26, 2017 at 10:46 am in reply to: How to perform redirect through a button in grid How to perform redirect through a button in grid #93145Hi Ivo Zhulev,
The problem is (click) is not even working since it is an normal HTML.Can you please suggest any help.
April 24, 2017 at 10:05 am in reply to: How to perform redirect through a button in grid How to perform redirect through a button in grid #93092Hi Ivo Zhulev,
I am putting the routerLink directly in my html the problem is this is not getting triggered.
var Action = function (row, columnfield, value, defaulthtml, columnproperties) {
return ‘<button routerLink = ‘user/edit/1’>EDIT</button>
}Hi Ivo Zhulev,
I want to call a function when clicked.
var cellsrenderer = function (row, column, value ) {
return ‘<select style=”width:80px; height:25px; font-size: 14px” >’ +
‘+<option (click)=”open(value)”>’ + ‘Edit’ + ‘</option>’ +
‘<option>’ + ‘Delete’ + ‘</option>’ +
‘</select>’;
}I want to call this open() {} unction when clicked.
Thanks Ivo,how can I send id to a function when a cell id clicked?Its not working with me.,
var cellsrenderer = function (row, column, value ) {
return ‘<select style=”width:80px; height:25px; font-size: 14px” >’ +
‘+<option (click)=”open(value)”>’ + ‘Edit’ + ‘</option>’ +
‘<option>’ + ‘Delete’ + ‘</option>’ +
‘</select>’;}
this.columns =
[
{
text: ‘S.NO’, columntype: ‘textbox’, filtertype: ‘input’, width: 100, cellsalign: ‘center’
},
{
text: ‘Name’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘name’, width: 215
},text: ‘Description’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘desc’, width: 215
},
{
text: ‘Created By’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘created_by’, width: 100, cellsalign: ‘center’
},
{
text: ‘Actions’, filtertype: ‘input’,datafield: ‘id’, cellsrenderer: cellsrenderer, width: 80, filterable: false
}
];April 9, 2017 at 6:32 am in reply to: How to include jq widgets in angular 2 project How to include jq widgets in angular 2 project #92804Hi Stanislav,
I included the 2 folders and some .js files in index.html it worked but when i run the project again it shows lots of error like thissrc/app/grid/jqwidgets-ts/angular_jqxbargauge.ts(308,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxbulletchart.ts(276,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxbuttons.ts(280,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxcalendar.ts(530,8): error TS7006: Parameter ‘date’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxcalendar.ts(530,14): error TS7006: Parameter ‘date2’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxcalendar.ts(531,11): error TS2663: Cannot find name ‘value’. Did you mean the instance member ‘this.value’?
src/app/grid/jqwidgets-ts/angular_jqxcheckbox.ts(291,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxcombobox.ts(658,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxcomplexinput.ts(288,11): error TS2663: Cannot find name ‘value’. Did you mean the instance member ‘this.value’?
src/app/grid/jqwidgets-ts/angular_jqxdatetimeinput.ts(503,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxdatetimeinput.ts(503,15): error TS7006: Parameter ‘value2’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxdropdownlist.ts(609,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxeditor.ts(272,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxformattedinput.ts(360,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxgauge.ts(335,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxgrid.ts(100,27): error TS2300: Duplicate identifier ‘attrLocalization’.
src/app/grid/jqwidgets-ts/angular_jqxgrid.ts(696,4): error TS2393: Duplicate function implementation.
src/app/grid/jqwidgets-ts/angular_jqxgrid.ts(896,4): error TS2393: Duplicate function implementation.
src/app/grid/jqwidgets-ts/angular_jqxinput.ts(324,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxknob.ts(343,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxlineargauge.ts(345,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxlinkbutton.ts(279,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxlistbox.ts(590,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxmaskedinput.ts(240,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxnavigationbar.ts(321,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxnumberinput.ts(411,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.
src/app/grid/jqwidgets-ts/angular_jqxpasswordinput.ts(284,8): error TS7006: Parameter ‘value’ implicitly has an ‘any’ type.Its a blocking issue and I am unable to start the project.Can you please help me.Thanks.
Hi Dimiter How to include this package in system.config.js?
April 6, 2017 at 9:06 am in reply to: How to put file exports in angular2 grid How to put file exports in angular2 grid #92727Thanks Ivo Zhulev
-
AuthorPosts