Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 02:41
    hsuanxyz milestoned #5965
  • 02:41
    hsuanxyz labeled #5965
  • Oct 25 13:14
    hsuanxyz closed #5929
  • Oct 25 11:09
    vthinkxie closed #5968
  • Oct 25 08:42
    hsuanxyz closed #5905
  • Oct 25 08:34
    hsuanxyz closed #5917
  • Oct 25 08:34
    hsuanxyz milestoned #5917
  • Oct 25 08:34
    hsuanxyz demilestoned #5917
  • Oct 25 06:58
    gks0089 opened #5968
  • Oct 24 10:13
    danranVm labeled #5642
  • Oct 24 06:37
    zorro-bot[bot] assigned #5965
  • Oct 24 06:37
    zorro-bot[bot] labeled #5965
  • Oct 24 06:37
    daiyis opened #5965
  • Oct 24 01:26
    danranVm closed #5941
  • Oct 23 13:50
    hsuanxyz closed #5884
  • Oct 23 13:49
    hsuanxyz closed #5888
  • Oct 23 13:49
    hsuanxyz closed #5882
  • Oct 23 12:50
    wenqi73 milestoned #5898
  • Oct 23 12:49
    hsuanxyz milestoned #5944
  • Oct 23 12:49
    zorro-bot[bot] assigned #5944
Dick Lelyveld
@Dicko1966
@vthinkxie Found out myself. Don't need axample. Thx.
exenestecnico
@exenestecnico
How can I prevent the sort being triggered on a table column when resizing the column with the resizable component? When the mouseup event occurs over the th that's being resized it triggers the sort. I tried to prevent it in the nzResizeEnd event but I guess thats's too late. Can some one help me please? Example https://stackblitz.com/edit/angular-jqs53u?embed=1&file=src/app/app.component.ts . @vthinkxie
Ray McKaig
@RayMcKaig_twitter
I'm having some difficulty installing the package. Has anyone seen the errors below? image.png
gdp81
@gdp81
hi, I'm using "ng-zorro-antd": "^9.1.2" and I have a problem with table listOfFilter. If i use:
[
{ text: 'enabled', value: true },
{ text: 'disabled', value: false }
]
I'm not able to filter the false value and the filter callback return null
Anyone has the same problem?
Vishal Shah
@1nfected
Hi, I'm having a little difficulty with the "Tabs" component. I have created a small sample application to demonstrate the problem. https://stackblitz.com/edit/angular-fwrnfz
What I want is the blue and green boxes to scroll when it has extra content. The main page should never have scroll. As you can see, I've got it working for the first tab, but that breaks the second tab. When navigating to the second tab, the content is not visible at all.
And this is because of the css I've applied on .ant-tabs-content. I've set overflow: hidden on it.
If I remove it, I can't get the scrollbars to appear at all! Can someone please help.
SUSHEEL KUMAR
@susheel810578_gitlab
i wanted to filter table column
exenestecnico
@exenestecnico
nobody answers here?
Милан
@milan_ua_twitter
hey guys, I'm having problems with custom modal footer inside component, which doesn't work even on your example on stackblitz and codesandbox, how to solve this? https://ng.ant.design/components/modal/en#components-modal-demo-footer2 the one which is in component works on your page, but doesnt work on my local and at stackblitz and codesandbox aswell.
Ivan Skiridomov
@boskiv
Ivan Skiridomov
@boskiv
Almost, solved
Neil Sherman
@sherman_neil_twitter

Hi All,

Im trying to use a ng-zorro table which has a footer (rendered via a template) where that footer has multiple rows, but am struggling to determine the correct way to do this. The documentation only seems to show an example of rendering a footer string for all columns of the table.

If I have a table that has 4 columns, I would like two footer rows where on the first row the footer consists of 2 columns, each spanning 2 columns, and the second footer row spans all columns.

How/can this be achieved?

王长金
@cjwangd
image.png
the form is reset,but role tags still exists, could any one help?
exenestecnico
@exenestecnico
I do it like this
resetForm(values): void {
    this.userForm.reset();
    this.userForm.setValue(values);
  }
@cjwangd you can pass an object with empty values for each field, so roles wont have value anymore
sawyerbutton
@sawyerbutton
Hi, Hope this NG-ZORRO/ng-zorro-antd#4978 will be merged ASAP
王长金
@cjwangd
@exenestecnico
After i applied you suggest, it didn't make any change. here is mine. but thanks for your enthusiastic sincely
openAdd() { this.showAdd = true; this.userAddForm.reset(); this.userAddForm.setValue(this.initData); }
vivekj2010
@vivekj2010
Hi everyone, I'm new to this framework So, can someone help me out to setup custom theme for this framework in angular 9. I'm trying to setup custom theme but not able to setup because I'm using scss for styling but in framework documentation used less for setting up the theme. So, I'm confused between this. Can someone help me for setting custom theme?
Felix Wostal
@fel1xw
good morning everyone, I'm currently building a page with the tree component and was wondering how to add/remove root nodes. looks like there is no documentation available for that purpose and I could just found one issue created related to that topic but no useful example: NG-ZORRO/ng-zorro-antd#3264. Can anybody help me with that? The comment related to using the ... (spread) operator did not work for me when trying to reassign the nzTreeService.rootNodes with a new array.
yangyuhaizi
@yangyuhaizi
after use __Zone_disable_timers, NG-ZORRO will not refresh UI properly
Dick Lelyveld
@Dicko1966
How do I code this?
Untitled.png
xjuanc
@xjuanc

When having a form array with the following info:

{
   "products":[
      {
         "productId":20,
         "name":"Taiyaki Vainilla",
         "additionalPrice":0,
         "quantity":0
      },
      {
         "productId":21,
         "name":"Taiyaki chocolate",
         "additionalPrice":0,
         "quantity":0
      }
   ]
}

Is there any possibility I could access to both quantities value through a formControlName="quantity" in a radio group button? Can't manage to do so, already tried different things but they always (and kind of obvious behaviour) attach to each formGroup
I'd like for example that when I press on the first radio button, the quantity value sets to 1 and the other radio button sets to 0 (right now both are being clicked indepently)
current implementation:

<nz-radio-group class="c-product-selection-form__content-product-radio">
     <ng-container *ngFor="let modifierProduct of modifier.products; let modifierProductIndex = index;"
                [formGroupName]="modifierProductIndex">
       <label nz-radio [nzValue]="1" formControlName="quantity" [id]="modifierProductIndex" [nzDisabled]="modifierProduct.outOfStock">
              <ng-container *ngTemplateOutlet="modifierProductTmpl; context: {$implicit:modifierProduct}">
               </ng-container>
        </label>
    </ng-container>
</nz-radio-group>
Sundar svce
@sundarsvce_gitlab
how to add img src to ul li inorder to add local image as icon
Didar Burmaganov
@deedarb
https://stackblitz.com/edit/ng-zorro-antd-ivy-1z63fk
is it related to NG-ZORRO/ng-zorro-antd#5178 ?
Bug with cdk virtual scroll rendering when using nzServerSearch
marct83
@marct83
Having some trouble with nz-transfer. I'm trying to use a template for my items. I'd like to add a checkbox to the template. But I'm getting Errors. Here is my nz-transfer
  <nz-transfer *ngIf="showTransfer"
        [nzListStyle]="{ 'width.px': 700, 'height.px': 500 }"
        [nzDataSource]="list"
        [nzRender]="render"
        [nzTitles]="['All Groups', 'Current Groups']"
        [nzShowSearch]="true"
        [nzFooter]="footer"
      >
            <ng-template #render let-item> 
              <label nz-checkbox [(ngModel)]="item.waterfall"></label>
              {{ item.title }} </ng-template>
      </nz-transfer>
Errors are: core.js:6228 ERROR Error: NodeInjector: NOT_FOUND [NgControl] and Error: Multiple components match node with tagname label
Aljadis
@Tayuelo
Hi! does anybody knows how can I test the modal service's nzOnOk method?
image.png
Dick Lelyveld
@Dicko1966
@Tayuelo : I used this.modalRef = this.modalService.create({nzOnOk: () => console.log('foo'));
(create instead of confirm)
Dick Lelyveld
@Dicko1966
Does anybody know how to use a popconfirm in a modal? I can't get the popup on top ...
chi-chi weng
@wcc526
The dingding qr code is expired!
Zhihao Shen
@Sh-Zh-7
I'm new to nz, and I want to know what's the best way to read the source code of it.
Wai Yip Tam
@w.tam_gitlab
anyone made a nz-progress custom component? with clickable steps
faustopaggetti
@faustopaggetti
Hi, is it possible to use csp configprovider as React version in ng-zorro-antd for angular? Or we can avoid inline style for components?
Fanny-Bello98
@Fanny-Bello98
Hola, soy nueva con estos temas. Tengo problemas con el modal, solo me agarra el no me muestra la pantalla. ¿Alguien me podría orientar?
Ratan Kumar
@RatanKumar678
Hi All
I have to create a dynamic tab with a dynamic nav given by the server. Is there any solution or article available. Plz share the link. I'll appreciate you help.
2 replies
I'll Appreciate all the help i can get.
Hrvoje Bernardić
@hrvbernardic
Hi, anyone know of a way to implement fluid column resizing in a table component. Example in Experimental tab is listening for resizeEnd event and resizing only then.If i switch the logic to resize event which fires like 20 times a second the app freezes expectedly. I suppose currently it isn't possible with the resize directive but if anyone knows which way i should go about i would be grateful. Thx
hmoss3
@hmoss3
has anyone gotten ng-zorro-antd to work with ngx-echarts?
Kamlesh Samrit
@kamleshWorkspace_gitlab
Hi everyone,
Kamlesh Samrit
@kamleshWorkspace_gitlab
I am facing some issue with loading data in NG-ZORRO Table when I a trying to load data with 40 columns and 20 -30 rows it stuck page / taking time to render data on HTML. I have customized the CSS part as per the requirement added multiple dropdowns and search options but now I got stuck to figure out how to handle a large amount of data tried so many things. one more challenge is there to figure out infinite scroll on table pagination. I have implemented it but when data is more then page stuck for some time and not allow to do any operations. I am using Angular 8 for implementation. Can someone please help me to figure out this challenge? Your help will save my life. Thanks in advance
Ratan Kumar
@RatanKumar678
can we create a routing base dynamic tab in ng-zooro..?
Kamlesh Samrit
@kamleshWorkspace_gitlab
can some one please help me on above issue?