In my React project, I need to customize antd table header as follows    I have added sample code bellow.  I need to have Sum of the amount in the header of the Amount column    Sample Code:   https://codesandbox.io/embed/great-sun-534cd...
I'm working with a DatePicker element in Antd and I'm trying to only show the calendar body.  I've tried using styled components to directly target the header and footer of the calendar and set display: none; properties on both, but so fa...
"antd": "^1.11.1", "react": "^15.1.0", "react-dom": "^15.1.0",   Error: Uncaught TypeError: getFieldDecorator is not a function  ant design demo: https://ant.design/components/form/  import React, {Comp...
I'm trying to use AntD menu sider like a tab panel.  I want to put components inside the content so that the content panel renders the related component when a menu item is clicked.  How do I get this structure to take components as the content f...
I'm trying to use ant.design react components with my redux-form, so far it goes something like this:  import { Form, Input } from 'antd'; import { Field, reduxForm } from 'redux-form/immutable'; const FormItem = Form.Item;  ........
I have written a small component building on antd upload using which user could upload multiple files to the server. I have spent a lot of time debugging, but cannot understand some of its behaviors. The component looks as follows:    There are 2 pro...
I'm using styled components something like this  const FormItem = styled(Form.Item)`      font-size: 16px; `;   Using Form Item something like this      <FormItem label="System Pressurized">     {getFieldDecorator('systemPressur...
I'm using Antd Select component to build a  custom component which gives me the ability to return an object instead of a primitive value and show nested value in object item in the select dropdown options, it works fine and it can be validated us...
I have been coding this simple one-column drag and drop table, but the rows aren´t moving when I drag them. Where do I fix or check that?  I'm using React, AntDesign and JavaScript (with TypeScript)  import * as React from 'react';  impo...
I am working with the antd' select box. I tried to customise the content inside Option which holds the regular text with some JSX. It looks as follows:    Here is also the small demo I prepared on sandbox:    Since I have customised the content i...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.