[AngularJS] Dynamically added /remove in rows in sub items

2018-10-04 Thread mahesh reddy
I want to add /remove  dynamically rows in modal popup after clicking 
subitems in each row.I have been struggled to solve this issue.Could any 
one help me???Thanks
   




-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] Dynamically added /remove in rows in sub items

2018-10-04 Thread mahesh reddy
Hi sir,
  If you don't mind may I know what you have done in your project exactly
  In my project I want to create some items in each row and then again when
I click add function it should open the new row again in that new row I
want to add subitems.
So for each row it has some subitems.
 If you got what I am trying to say
Can you please share your code.




On Oct 4, 2018 5:51 PM, "Amit Shaw"  wrote:

> Hi Mahesh,
>
> For this, you need to create an array for formGroup and while clicking
> on + you need to add a row in that array with blank values.
> If need code, let me know because I have done this in my project.
>
> Regards
> Amit
>
> On Thu, Oct 4, 2018 at 5:31 PM mahesh reddy 
> wrote:
>
>> I want to add /remove  dynamically rows in modal popup after clicking
>> subitems in each row.I have been struggled to solve this issue.Could any
>> one help me???Thanks
>>
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to angular+unsubscr...@googlegroups.com.
>> To post to this group, send email to angular@googlegroups.com.
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] Dynamically added /remove in rows in sub items

2018-10-04 Thread mahesh reddy
This is row add functionality

$scope.myData = [];
//add functionality for each row

  $scope.myData = [
{
 Id:"",
 ProductID:"",

 ProductName:"",

 CategoryID:"",
CategortName: "",
  RAI_Item:"",
RAI_ItemCode: "",
RAI_Price: "",
RAI_Quantity: "",
RAI_Total: "",
subitems:[{
Id:'',
text:'',
}
]

}];

could you please suggest me how to write subitems add functionality using
above

On Thu, Oct 4, 2018 at 6:08 PM Amit Shaw  wrote:

> Hi Mahesh,
>
> I forgot to add the initAddress method.
>
> initAddress(data) {
> console.log("Data");
> console.log(data);
> if(data == '' || data === undefined){
> return this._fb.group({
>   Project_Name__c: [''],
>   Project_Name_2__c: [''],
>   Capital_Required__c:[''],
>   Financing_Structure__c:[''],
>   Interested_formats_of_cooperation__c:[''],
>   Investment_Round__c:[''],
>   Project_Custom_Currency__c:[''],
>   Project_Custom_Date_time__c:[''],
>   Project_Custom_Number_1__c:[''],
>   Project_Custom_Number_2__c:[''],
>   Project_Custom_Picklist__c:[''],
>   Project_Custom_Text__c:[''],
>   Project_Custom_Text_2__c:[''],
>   Project_Location__c:[''],
>   Sectors__c:[''],
>   Sub_Sectors__c:[''],
>   Project_Description__c:[''],
>   Project_Description_2__c:[''],
>   Project_Custom_Rich_Text_Area__c:[''],
> });
>   }
>
> Regards
> Amit
>
> On Thu, Oct 4, 2018 at 6:06 PM Amit Shaw  wrote:
>
>> Hi Mahesh,
>> Actually, in my project, I implemented like they can add project how much
>> they want.
>> First, they have to click on add project i am displaying a material popup
>> and then one complete form fields and below add more project option is
>> there.
>> So they can add another form fields.
>> I am sharing my code here.
>>
>> HTML
>>
>>   
>>   
>>   
>> 
>> 
>>   
>> 
>> > *ngIf="settings['Project Information'][16]?.biw.readaccess =='true'">
>>   {{settings['Project
>> Information'][16]?.biw.labelname}}
>> *
>>   
>>   > formControlName="Project_Name__c">
>> 
>> > *ngIf="settings['Project Information'][17]?.biw.readaccess =='true'">
>>   {{settings['Project
>> Information'][17]?.biw.labelname}}
>> *
>>   
>>   > formControlName="Project_Name_2__c">
>> 
>>   
>> 
>> {{settings['Project
>> Information'][0]?.biw.labelname}}
>>   *
>> 
>> > formControlName="Capital_Required__c">
>> 
>>   
>>   > (click)="onSubmit()">Save
>>   > (click)="onCancel()">Cancel
>> 
>>   
>>
>>
>> 
>>   Add another project +
>> 
>>   
>> 
>>   
>> 
>>   
>>  You received this message because you are subscribed to the Google
> Groups "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>
 --
 You received this message because you are subscribed to the Google
 Groups "Angular and AngularJS discussion" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to angular+unsubscr...@googlegroups.com.
 To post to this group, send email to angular@googlegroups.com.
 Visit this group at https://groups.google.com/group/angular.
 For more options, visit https://groups.google.com/d/optout.

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Angular and AngularJS discussion" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to angular+unsubscr...@googlegroups.com.
>>> To post to this group, send email to angular@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/angular.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> 

Re: [AngularJS] Dynamically added /remove in rows in sub items

2018-10-04 Thread mahesh reddy
I need sample code in anjualrjs

On Thu, Oct 4, 2018 at 6:13 PM mahesh reddy 
wrote:

> This is row add functionality
>
> $scope.myData = [];
> //add functionality for each row
>
>   $scope.myData = [
> {
>  Id:"",
>  ProductID:"",
>
>  ProductName:"",
>
>  CategoryID:"",
> CategortName: "",
>   RAI_Item:"",
> RAI_ItemCode: "",
> RAI_Price: "",
> RAI_Quantity: "",
> RAI_Total: "",
> subitems:[{
> Id:'',
> text:'',
> }
> ]
>
> }];
>
> could you please suggest me how to write subitems add functionality using
> above
>
> On Thu, Oct 4, 2018 at 6:08 PM Amit Shaw  wrote:
>
>> Hi Mahesh,
>>
>> I forgot to add the initAddress method.
>>
>> initAddress(data) {
>> console.log("Data");
>> console.log(data);
>> if(data == '' || data === undefined){
>> return this._fb.group({
>>   Project_Name__c: [''],
>>   Project_Name_2__c: [''],
>>   Capital_Required__c:[''],
>>   Financing_Structure__c:[''],
>>   Interested_formats_of_cooperation__c:[''],
>>   Investment_Round__c:[''],
>>   Project_Custom_Currency__c:[''],
>>   Project_Custom_Date_time__c:[''],
>>   Project_Custom_Number_1__c:[''],
>>   Project_Custom_Number_2__c:[''],
>>   Project_Custom_Picklist__c:[''],
>>   Project_Custom_Text__c:[''],
>>   Project_Custom_Text_2__c:[''],
>>   Project_Location__c:[''],
>>   Sectors__c:[''],
>>   Sub_Sectors__c:[''],
>>   Project_Description__c:[''],
>>   Project_Description_2__c:[''],
>>   Project_Custom_Rich_Text_Area__c:[''],
>> });
>>   }
>>
>> Regards
>> Amit
>>
>> On Thu, Oct 4, 2018 at 6:06 PM Amit Shaw  wrote:
>>
>>> Hi Mahesh,
>>> Actually, in my project, I implemented like they can add project how
>>> much they want.
>>> First, they have to click on add project i am displaying a material
>>> popup and then one complete form fields and below add more project option
>>> is there.
>>> So they can add another form fields.
>>> I am sharing my code here.
>>>
>>> HTML
>>>
>>>   
>>>   
>>>   
>>> 
>>> 
>>>   
>>> 
>>> >> *ngIf="settings['Project Information'][16]?.biw.readaccess =='true'">
>>>   {{settings['Project
>>> Information'][16]?.biw.labelname}}
>>> *
>>>   
>>>   >> formControlName="Project_Name__c">
>>> 
>>> >> *ngIf="settings['Project Information'][17]?.biw.readaccess =='true'">
>>>   {{settings['Project
>>> Information'][17]?.biw.labelname}}
>>> *
>>>   
>>>   >> formControlName="Project_Name_2__c">
>>> 
>>>   
>>> >> *ngIf="settings['Project Information'][0]?.biw.readaccess =='true'">
>>> {{settings['Project
>>> Information'][0]?.biw.labelname}}
>>>   *
>>> 
>>> >> formControlName="Capital_Required__c">
>>> 
>>>   
>>>   >> (click)="onSubmit()">Save
>>>   >> (click)="onCancel()">Cancel
>>> 
>>>   
>>>
>>>
>>> 
>>>   Add another project +
>>> 
>>>   
>>> 
>>>   
>>> 
>>>   
>>>

Re: [AngularJS] Read the file directory location in angular js

2018-10-04 Thread mahesh reddy
Hi sir,
  In my project I want to create some items in each row and then again when
I click add function it should open the new row again in that new row I
want to add subitems.
So for each row it has some subitems.
 If you got what I am trying to say
Can you please share your sample code.

On Thu, Oct 4, 2018 at 6:22 PM kowshik kumar 
wrote:

> Please share some samples codes for downloading path, choose folder
> directory in angular js
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] Read the file directory location in angular js

2018-10-04 Thread mahesh reddy
If you need code let me know

On Thu, Oct 4, 2018 at 7:09 PM mahesh reddy 
wrote:

> Hi sir,
>   In my project I want to create some items in each row and then again
> when I click add function it should open the new row again in that new row
> I want to add subitems.
> So for each row it has some subitems.
>  If you got what I am trying to say
> Can you please share your sample code.
>
> On Thu, Oct 4, 2018 at 6:22 PM kowshik kumar 
> wrote:
>
>> Please share some samples codes for downloading path, choose folder
>> directory in angular js
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to angular+unsubscr...@googlegroups.com.
>> To post to this group, send email to angular@googlegroups.com.
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] Re: AngularJS sometimes does not update view during navigation

2018-10-05 Thread mahesh reddy
Hi,
  Could any one help me how to add/remove  rows in child row for particular
parent row

On Oct 5, 2018 9:07 PM,  wrote:

> Hello Sander,
>
> I am using $routeProvider.
>
> Regards
> Ranga
>
> On Saturday, September 29, 2018 at 9:09:31 AM UTC+5:30, Sander Elias wrote:
>>
>> Hi Ranganathan,
>>
>> Are you using AngularJs's router or something else?
>>
>> Regards
>> Sander
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Pdf

2018-10-15 Thread mahesh reddy
Could anybody help me how to generate PDF report from HTML data using
anjularjs??? Thanks if anybody help me

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] Re: Pdf

2018-10-16 Thread mahesh reddy
Thanks for giving Reply
I need to  generate PDF with  session name with company logo

On Oct 16, 2018 1:04 PM, "Richard Farkas" 
wrote:

> We have an issue in our backlog to research this, starting with
>
> https://datatables.net/extensions/buttons/examples/
> initialisation/export.html
> or
> https://github.com/MrRio/jsPDF
>
>
> Currently we send a print-friendly view to the printer using the browser's
> default print function and ask users to choose the "Print to file" option.
>
>
> There's room for improvement here.
>
>
> If you try either of the above solutions, let us know how it goes.
>
> On Tuesday, October 16, 2018 at 8:35:41 AM UTC+3, mahesh reddy wrote:
>>
>> Could anybody help me how to generate PDF report from HTML data using
>> anjularjs??? Thanks if anybody help me
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Nested row in single row

2018-10-17 Thread mahesh reddy
Can any body suggest me how to add dynamic rows in child row using
anjularjs and mvc?? Appreciatable if anybody help me

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] Nested row in single row

2018-10-18 Thread mahesh reddy
Thanks for your reply
Can please share sample code

On Oct 18, 2018 12:37 PM, "john leo"  wrote:

> Mahesh
>
> you can you dom object manipulation  using html document object or use
> elementref for pure angular based solution
>
> Hope this helps
>
> regards
> John
>
> On Thu, Oct 18, 2018 at 11:10 AM mahesh reddy 
> wrote:
>
>> Can any body suggest me how to add dynamic rows in child row using
>> anjularjs and mvc?? Appreciatable if anybody help me
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to angular+unsubscr...@googlegroups.com.
>> To post to this group, send email to angular@googlegroups.com.
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS]

2018-10-26 Thread mahesh reddy
Can any body help me how to add  child rows in subitems using anjularjs??
If any one know please let me know.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS]

2018-10-26 Thread mahesh reddy
hi,
Can you please share some sample code It can helpfull to me
 Thanks & Regards
Mahesh Reddy

On Sat, Oct 27, 2018 at 9:36 AM ACHARYA ANIL KUMAR 
wrote:

> Hi ,
>
> you can dynamically add nested array then put nested ng -repeat
>
> On Fri, Oct 26, 2018 at 8:50 PM mahesh reddy 
> wrote:
>
>> Can any body help me how to add  child rows in subitems using anjularjs??
>> If any one know please let me know.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to angular+unsubscr...@googlegroups.com.
>> To post to this group, send email to angular@googlegroups.com.
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
>
> Thanks and Regards
>
> Anil Kumar
>
> S/W Engineer |  Patanjali Social Activist | Speaker |Yoga Trainer
>
>  Mob:- +918930068008
>
>  My Social Media Links
>
> Facebook:- *https://www.facebook.com/acharyaks90
> <https://www.facebook.com/acharyaks90>*
>
> Twitter:-   *https://twitter.com/acharyaks90
> <https://twitter.com/acharyaks90>*
>
> Github:-   *https://github.com/acharyaks90
> <https://github.com/acharyaks90>*
>
> LinkedIn:- https://www.linkedin.com/in/acharyaks90/
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS]

2018-10-26 Thread mahesh reddy
hi,
  My requirement is i want to add/delete rows in nested ng -repeat and
nested array I.e means In child row  i want add/remove rows dynamically.

can you please suggest me.
Thanks & Regards
Mahesh Reddy

On Sat, Oct 27, 2018 at 9:51 AM mahesh reddy 
wrote:

> hi,
> Can you please share some sample code It can helpfull to me
>  Thanks & Regards
> Mahesh Reddy
>
> On Sat, Oct 27, 2018 at 9:36 AM ACHARYA ANIL KUMAR <
> thakurinfot...@gmail.com> wrote:
>
>> Hi ,
>>
>> you can dynamically add nested array then put nested ng -repeat
>>
>> On Fri, Oct 26, 2018 at 8:50 PM mahesh reddy 
>> wrote:
>>
>>> Can any body help me how to add  child rows in subitems using anjularjs??
>>> If any one know please let me know.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Angular and AngularJS discussion" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to angular+unsubscr...@googlegroups.com.
>>> To post to this group, send email to angular@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/angular.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> --
>>
>> Thanks and Regards
>>
>> Anil Kumar
>>
>> S/W Engineer |  Patanjali Social Activist | Speaker |Yoga Trainer
>>
>>  Mob:- +918930068008
>>
>>  My Social Media Links
>>
>> Facebook:- *https://www.facebook.com/acharyaks90
>> <https://www.facebook.com/acharyaks90>*
>>
>> Twitter:-   *https://twitter.com/acharyaks90
>> <https://twitter.com/acharyaks90>*
>>
>> Github:-   *https://github.com/acharyaks90
>> <https://github.com/acharyaks90>*
>>
>> LinkedIn:- https://www.linkedin.com/in/acharyaks90/
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to angular+unsubscr...@googlegroups.com.
>> To post to this group, send email to angular@googlegroups.com.
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] why super() call is not done by default while extending

2018-10-29 Thread mahesh reddy
Can any body tell me how to add/delete rows dynamically in nested ng repeat
arrays using anjualrjs
 since 1 month onwards i am facing problem in this issue.
Appreciatable if anybody help me to solve this issue.

On Tue, Oct 30, 2018 at 11:24 AM  wrote:

> Hi All,
>
> I have been wondering why Angular doesn't take care of making super() call
> a default thing when a class is extending another. Why do we have to write
> it when we know its necessary.
>
> I don't see any reason behind as it has to be called so that the parent
> constructor gets called.
>
> I am not a lazy developer, just that it would be great to know if there is
> any interesting reason behind.
>
> Thanks in advance.
>
> Kind regards,
> Jeet Adhikari
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Nested array

2018-10-30 Thread mahesh reddy
I want to add/delete rows in nested array using anjularjs
Could any body help me

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] Re: Nested array

2018-10-31 Thread mahesh reddy
Thanks For your replay
 But i need to add/delete rows in child row of parent row Could you please
tell me if you have any idea about this

On Wed, Oct 31, 2018 at 12:21 PM Sander Elias  wrote:

> Hi Manesh,
>
> You can add/remove array elements by normal JS manipulation. The digest
> cycle will update the view accordingly.
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] Re: Nested array

2018-10-31 Thread mahesh reddy
Can anybody tell me how to clear nested array filed if try to add new row
using anjularjs

On Wed, Oct 31, 2018 at 1:01 PM mahesh reddy 
wrote:

> Thanks For your replay
>  But i need to add/delete rows in child row of parent row Could you please
> tell me if you have any idea about this
>
> On Wed, Oct 31, 2018 at 12:21 PM Sander Elias 
> wrote:
>
>> Hi Manesh,
>>
>> You can add/remove array elements by normal JS manipulation. The digest
>> cycle will update the view accordingly.
>>
>> Regards
>> Sander
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to angular+unsubscr...@googlegroups.com.
>> To post to this group, send email to angular@googlegroups.com.
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


Re: [AngularJS] Re: Nested array

2018-11-01 Thread mahesh reddy
Hi Sander Elias,
I have cut the code and paste it on note pad
  So please be look at that code and tell me how to do
 Regards


On Thu, Nov 1, 2018 at 4:22 PM mahesh reddy 
wrote:

> Hi Sander Elias,
>
> If you can look pictures you will get what i need
> My requirement if i click subitems click button it can display one popup
> in that pop up again i want add/delete rows dynamically.
> If enter some values on subitems that can be belong to that particular row
> only.
> Like this we can n no of rows.
> For each row has some subitems.
> If we need i can share some sample code
>  Regards
> Mahesh Reddy
>
>
>
>
> On Thu, Nov 1, 2018 at 1:45 PM Sander Elias  wrote:
>
>> Hi Mahesh,
>>
>> Put a sample of your issue on plunkr or stackBlitz and I will extend it
>> for you!
>>
>> Regards
>> Sander
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to angular+unsubscr...@googlegroups.com.
>> To post to this group, send email to angular@googlegroups.com.
>> Visit this group at https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
..Html Code...   

 


SNo
Category
Product

Item
Item Code
Price
Quantity
Sub Items

Total
 





@**@

{{invoice.id}}

@*{{$index+1}}*@
@*{{invoice.Id}}*@



@**@
@*
Select 
Category
*@
{{invoice.CategortName}}


@*
-- Select Product 
--
*@
{{invoice.ProductName}}


@**@
{{invoice.RAI_Item}}


@**@
{{invoice.RAI_ItemCode}}


@**@

{{invoice.RAI_Price}}



@**@
{{invoice.RAI_Quantity}}




Id
text


   

Re: [AngularJS] Re: Nested array

2018-11-01 Thread mahesh reddy
Hello
   You got any Idea where i have done mistake.
Please let me know since it's very important  in my project  based upon
ihave to do lot of.

On Thu, Nov 1, 2018 at 4:50 PM mahesh reddy 
wrote:

> Hi Sander Elias,
> I have cut the code and paste it on note pad
>   So please be look at that code and tell me how to do
>  Regards
>
>
> On Thu, Nov 1, 2018 at 4:22 PM mahesh reddy 
> wrote:
>
>> Hi Sander Elias,
>>
>> If you can look pictures you will get what i need
>> My requirement if i click subitems click button it can display one popup
>> in that pop up again i want add/delete rows dynamically.
>> If enter some values on subitems that can be belong to that particular
>> row only.
>> Like this we can n no of rows.
>> For each row has some subitems.
>> If we need i can share some sample code
>>  Regards
>> Mahesh Reddy
>>
>>
>>
>>
>> On Thu, Nov 1, 2018 at 1:45 PM Sander Elias 
>> wrote:
>>
>>> Hi Mahesh,
>>>
>>> Put a sample of your issue on plunkr or stackBlitz and I will extend it
>>> for you!
>>>
>>> Regards
>>> Sander
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Angular and AngularJS discussion" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to angular+unsubscr...@googlegroups.com.
>>> To post to this group, send email to angular@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/angular.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Dynamically add/remove rows in child row of parent row

2018-11-13 Thread mahesh reddy
Hi all,
   Could any body help me how to dynamically add/remove rows in child
row of parent row using anjularjs.
It's so helpful to me if anybody try to override this issue to me.

On Tue 13 Nov, 2018, 6:53 AM Tito,  wrote:

> Hello there,
>
> Try this?
>
>
> npm config set http-proxy 104.16.27.35:443 
> npm
>  config set https-proxy 104.16.27.35:443 
> 
>
>
> On Monday, November 12, 2018 at 5:00:21 PM UTC-8, Rich Leach wrote:
>>
>> Hola Tito!
>>
>> Thanks for the link buddy, I checked it out and it said I should check
>> out my proxy settings, but I'm not sure what to set it to (I've never
>> manually spec'd out a proxy for NPM)? Did you set your proxy manually
>> when you installed your NPM version?
>>
>> Good to hear from you buddy
>>
>> Rich
>>
>>
>>
>>
>> On Monday, November 12, 2018 at 2:00:57 PM UTC-7, Tito wrote:
>>>
>>> hello senor Rich
>>>
>>> check this out
>>>
>>> https://github.com/npm/npm/issues/17947
>>>
>>> On Monday, November 12, 2018 at 12:24:50 PM UTC-8, Rich Leach wrote:

 I'm on Mac OSX 10.14

 I have NPM 6.4.1 and I'm trying to install the Angular CLI, however
 when I run the install command:

 npm install -g @angular/cli
 (with or without sudo)

 I get the following error:

 FetchError: request to https://registry.npmjs.org/@angular%2fcli
 failed, reason: connect EPERM 104.16.27.35:443 - Local (0.0.0.0:0)

 at ClientRequest.req.on.err
 (/usr/local/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)

 


 To solve this I tried:

 • npm cache verify which comes back successful but having affected 0
 bytes of content

 • I tested the url that is reported in the error in my browser (
 https://registry.npmjs.org/@angular%2fcli) which does, in fact return
 data


 Has anyone else run into this? I know the error suggests my firewall or
 proxy could be restricting network access but since I successfully updated
 an additional computer today (with the same config) I know this is not the
 issue


 Thanks in advance,


 Rich



 --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] Edit functionality in child row

2018-11-20 Thread mahesh reddy
Could please any body help me
edit functionality not working on child row






https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css";>
https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js";>
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js
">



var app = angular.module('MyApp', [])
app.controller('MyController', function ($scope, $window) {

$scope.EditCustomer;

$scope.Customers = [
{
Name: "John Hammond", Country: "United States",

Orders: [
{ OrderId: 10248, Freight: 32.38, ShipCountry:
'France' },
{ OrderId: 10249, Freight: 12.43, ShipCountry:
'Japan' },
{ OrderId: 10250, Freight: 66.35, ShipCountry:
'Russia' }
]
},

];

$scope.Orders = [];


$scope.Add = function () {
//Add the new item to the Array.
var customer = {};
customer.Name = $scope.Name;
customer.Country = $scope.Country;
customer.Orders = $scope.Orders;

$scope.Customers.push(customer);
$scope.Orders = [];


//Clear the TextBoxes.
$scope.Name = "";
$scope.Country = "";
};

$scope.add2 = function () {

var items = {};
items.OrderId = $scope.OrderId;
items.Freight = $scope.Freight;
items.ShipCountry = $scope.ShipCountry;

$scope.Orders.push(items);
$scope.OrderId = "";
$scope.Freight = "";
$scope.ShipCountry = "";

}


$scope.Remove = function (index) {
//Find the record using Index from Array.
var name = $scope.Customers[index].Name;
if ($window.confirm("Do you want to delete: " + name)) {
//Remove the item from Array using Index.
$scope.Customers.splice(index, 1);
}

}


$scope.remove1 = function (index) {
var name = $scope.Orders[index].OrderId;
if ($window.confirm("Do you want to delete: " + name)) {
$scope.Orders.splice(index, 1);
}
}

$scope.displayData = [];


$scope.add3 = function () {

var items = {};
items.OrderId = $scope.OrderId;
items.Freight = $scope.Freight;
items.ShipCountry = $scope.ShipCountry;
alert(items.Freight);
$scope.EditCustomer.Orders.push(items);

$scope.OrderId = "";
$scope.Freight = "";
$scope.ShipCountry = "";
}


$scope.edit = function (index) {
//Find the record using Index from Array.
$scope.EditCustomer = $scope.Customers[index];
$scope.Name = $scope.EditCustomer.Name;
$scope.Country = $scope.EditCustomer.Country;
//$scope.Orders = $scope.EditCustomer.Orders;
//$scope.EditCustomer = $scope.Customers[index];
alert($scope.EditCustomer);
}
$scope.Update = function (index) {
alert("updated");
//Find the record using Index from Array.
$scope.EditCustomer.Name = $scope.Name;
$scope.EditCustomer.Country = $scope.Country;
$scope.Customers[index] = $scope.EditCustomer;
//$scope.Orders[index] = $scope.EditCustomer;


alert($scope.EditCustomer);
}


$scope.remove2 = function (index) {
alert(index);
var orderid = $scope.EditCustomer.Orders[index].OrderId;
if ($window.confirm("Do you want to delete: " + orderid)) {
$scope.EditCustomer.Orders.splice(index, 1);
}
}


});




Name
Country
Orders
 




{{m.Name}}"
{{m.Country}}



@*Click*@




View Orders






×


Order Details
   

[AngularJS] how to push one array values to another array

2018-11-21 Thread mahesh reddy

I have 2 arrays named as taxes and subitems
$scope.taxes=[];
$scope.subitems=[];
how can we save taxes values to subitems?
In taxes array i have field names id and value
in the same way at subitems we have aid and text
if i done any modification on taxes that can be goes to subitems
here i have declared diffterent field names
i didn't get how to solve this issue
please could any body help me
i am searching for this solution since 2 months onwards 


-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] push one array values to another array

2018-11-21 Thread mahesh reddy


I have 2 arrays named as taxes and subitems
> $scope.taxes=[];
> $scope.subitems=[];
> how can we save taxes values to subitems?
> In taxes array i have field names id and value
> in the same way at subitems we have aid and text
> if i done any modification on taxes that can be goes to subitems
> here i have declared diffterent field names
> i didn't get how to solve this issue
> please could any body help me
> i am searching for this solution since 2 months onwards 
>  
>  
> refer this 
> plunker:http://next.plnkr.co/edit/SKrGEOvIlWSCzaZd?open=lib%2Fscript.js&deferRun=1&preview
>  
>  
>  
> If any one know i can share databases aslo 
>  
>  
>  
> I have 2 databases
>  database1
> ... 
> id value
>  
> 1  111
>  
> 2  bbb
>  
>  
>  
> after we click clcik button the above grid view can be populating from 
> database
>  
> for each row same grid view can be displayed
>  
> if i done any modifications that can belong that particular row only
>  (here i am going to change bbb>aaa)
>  database 2
> .. 
>  aid text
>  
> 1  111
>  
> 2   aaa 
> so finally we are fetching values from one database 
> and we are going to save into another database 
>  
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.


[AngularJS] save both item and taxes array values at single update button in anjularjs 1

2019-01-04 Thread mahesh reddy
Hi,
In dynamically added rows 
 i have 2 arrays 
Please look at my screenshots
https://ibb.co/F8scQ80
https://ibb.co/8Nn7Czc
In dynamically added rows i am going to enter n no rows
for each row i have one edit button 
after clicking of edit button it was displaying relevant values and 
calculations also working fine
if i change the basic quantity values at that relevant values are also 
saving
Problem is that at this instance if i forget to click on update button 
updated taxes valeus are saving but prevoius values are saving on parent row
I need to save Taxes and parenr row valeus at a time after clciking of 
update button
Could please kindly any one help me



-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.