TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ahmed elbarbary
NA
1.6k
278.9k
How to check in component.html if column type=1 display lab
May 21 2020 2:47 AM
I have object name ReportControl I face issue I cannot check value related to this object
if have column type 1 then display label active else display label not active on reportcomponent.html
data of object ReportControl as below
{
"reportId"
:2028,
"fieldName"
:
"offilneURL"
,
"reportStatus"
:
"HiddenColumn"
,
"columnType"
:1}
on reportcomponent.ts
this._displayreport.GetReportControl(param2).subscribe((res: any) => {
this
.ReportControl = res;
console.log(
"report control is"
+ JSON.stringify(
this
.ReportControl) );
});
on service.ts
GetReportControl(id : string){
return
this
.http.get<any[]>(
this
.url+
'report/GetAllReportControl/id='
+ id)
.map(res=>res);
}
reportcomponent.html
i need to check if column type =1 then display label with text active
else display label with text not active
Reply
Answers (
0
)
How to remove plain text URL from data content column name o
when routing using router Link it create url but nothing hap