Posts

Showing posts from March 26, 2019

Того Хэйхатиро

Image
Того Хэйхатиро 東郷 平八郎 адмирал маркиз Того Хэйхатиро Дата рождения 27 января 1848 ( 1848-01-27 ) Место рождения Кагосима, княжество Сацума Дата смерти 30 мая 1934 ( 1934-05-30 ) (86 лет) Место смерти Токио, Японская империя Принадлежность Японская империя   Японская империя Род войск Императорский флот Японии Годы службы 1863—1913 Звание маршал флота Японской империи Командовал Объединённый флот (28.12.1903—20.12.1905), Генеральный штаб Императорского флота Японии (20.12.1905—1.1.1909) Сражения/войны Сацумско-британская война, Война Босин, Японо-китайская война (1894—1895), Русско-японская война Награды и премии В отставке наставник наследного принца Хирохито  Того Хэйхатиро на Викискладе Эта статья — о японском адмирале. О государстве Того см. Того. В этом японском имени фамилия (Того) стоит перед личным именем. Маркиз Того Хэйхатиро (яп. 東郷

Is it not possible to get a parent field in a datatable column specification, for a Lightning Web Component?

Image
5 1 Working with a prototype of a lightning web component, I get that the datatable, just like its Aura brother, needs the columns to be manually specified. That being said, I have the following specification for a datatable that receives pricebook entries: const columns = [ { label: 'Name', fieldName: 'Product2.Name' } ] The names do not display on the component, but if I use a forEach to list the data retrieved by the component, I get the products names, like in: connectedCallback() { getProducts({ pricebookId: this.pricebookId, countLimit: 4 }) .then(result => { this.products = result this.products.forEach(p => { console.log(p.Product2) // Proxy {} object is displayed console.log(p.Product2.Name) // Th