<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Documentation – Обновление сводных таблиц в Aspose.Cells for Node.js via C&#43;&#43;</title>
    <link>https://docs.aspose.com/cells/ru/nodejs-cpp/refresh-pivot-table/</link>
    <description>Recent content in Обновление сводных таблиц в Aspose.Cells for Node.js via C&#43;&#43; on Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ru</language>
    
	  <atom:link href="https://docs.aspose.com/cells/ru/nodejs-cpp/refresh-pivot-table/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Nodejscpp: Обновление и вычисление сводной таблицы с вычисляемыми элементами</title>
      <link>https://docs.aspose.com/cells/ru/nodejs-cpp/refresh-and-calculate-pivot-table-having-calculated-items/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.com/cells/ru/nodejs-cpp/refresh-and-calculate-pivot-table-having-calculated-items/</guid>
      <description>
        
        
        

&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

Aspose.Cells for Node.js via C++ теперь поддерживает обновление и расчет сводных таблиц с вычисляемыми элементами. Пожалуйста, используйте &lt;a href=&#34;https://reference.aspose.com/cells/nodejs-cpp/pivottable/#refreshdata--&#34;&gt;&lt;strong&gt;PivotTable.refreshData&lt;/strong&gt;&lt;/a&gt; и &lt;a href=&#34;https://reference.aspose.com/cells/nodejs-cpp/pivottable/#calculatedata--&#34;&gt;&lt;strong&gt;PivotTable.calculateData&lt;/strong&gt;&lt;/a&gt; как обычно для выполнения этой функции.
&lt;/div&gt;

&lt;h2 id=&#34;обновление-и-вычисление-сводной-таблицы-с-вычисляемыми-элементами&#34;&gt;&lt;strong&gt;Обновление и вычисление сводной таблицы с вычисляемыми элементами&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Следующий пример кода загружает исходный Excel-файл (source excel file), содержащий сводную таблицу с тремя вычисляемыми элементами, такими как &amp;ldquo;add&amp;rdquo;, &amp;ldquo;div&amp;rdquo;, &amp;ldquo;div2&amp;rdquo;. Мы сначала изменяем значение ячейки D2 на 20, затем обновляем и пересчитываем сводную таблицу с помощью API Aspose.Cells for Node.js via C++ и сохраняем рабочую книгу в PDF. В результате полученного PDF-файла видно, что Aspose.Cells for Node.js via C++ успешно обновил и пересчитал сводную таблицу с вычисляемыми элементами. Вы можете проверить это вручную, вставив значение 20 в ячейку D2 и обновив сводную таблицу через сочетание клавиш Alt+F5 или нажав кнопку обновления сводной таблицы.&lt;/p&gt;
&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-cells-gists/c7b55cbeb75eaaae989115230a7619eb.js?file=PivotTable-RefreshAndCalculateItems-1.js&#34;&gt;&lt;/script&gt;

&lt;button class=&#34;floating-button&#34; id=&#34;openModalBtn&#34;&gt;AI Document Assistant&lt;/button&gt;

&lt;div class=&#34;modal&#34; id=&#34;modal&#34;&gt;
    &lt;button class=&#34;close-btn&#34; id=&#34;closeModalBtn&#34;&gt;Close&lt;/button&gt;
    &lt;iframe src=&#34;https://products.aspose.ai/cells/chat/document/nodejs-cpp?source=docs&#34; frameborder=&#34;0&#34; width=&#34;100%&#34; height=&#34;100%&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;style&gt;
    .floating-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #007bff;
        color: white;
        border: none;
        padding: 15px 20px;
        border-radius: 50px;
        cursor: pointer;
        font-size: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .modal {
        display: none;
        position: fixed;
        top: 10%;
        left: 10%;
        width: 80%;
        height: 80%;
        background-color: white;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        padding: 20px;
        box-sizing: border-box;
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #f44336;
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 16px;
        border-radius: 3px;
    }
&lt;/style&gt;

&lt;script&gt;
    const openModalBtn = document.getElementById(&#39;openModalBtn&#39;);
    const closeModalBtn = document.getElementById(&#39;closeModalBtn&#39;);
    const modal = document.getElementById(&#39;modal&#39;);

    openModalBtn.addEventListener(&#39;click&#39;, function() {
        modal.style.display = &#39;block&#39;;
    });

    closeModalBtn.addEventListener(&#39;click&#39;, function() {
        modal.style.display = &#39;none&#39;;
    });

    window.addEventListener(&#39;click&#39;, function(event) {
        if (event.target === modal) {
            modal.style.display = &#39;none&#39;;
        }
    });
&lt;/script&gt;


      </description>
    </item>
    
    <item>
      <title>Nodejscpp: Найти и обновить вложенные или дочерние сводные таблицы родительской сводной таблицы</title>
      <link>https://docs.aspose.com/cells/ru/nodejs-cpp/find-and-refresh-the-nested-or-children-pivot-tables-of-parent-pivot-table/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.com/cells/ru/nodejs-cpp/find-and-refresh-the-nested-or-children-pivot-tables-of-parent-pivot-table/</guid>
      <description>
        
        
        &lt;h2 id=&#34;возможные-сценарии-использования&#34;&gt;&lt;strong&gt;Возможные сценарии использования&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;Иногда одна сводная таблица использует другую сводную таблицу в качестве источника данных, поэтому ее называют дочерней сводной таблицей или вложенной сводной таблицей. Вы можете найти дочерние сводные таблицы родительской сводной таблицы, используя метод &lt;a href=&#34;https://reference.aspose.com/cells/nodejs-cpp/pivottable/#getChildren--&#34;&gt;&lt;strong&gt;PivotTable.getChildren()&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;как-найти-и-обновить-вложенные-или-дочерние-сводные-таблицы-родительской-сводной-таблицы&#34;&gt;&lt;strong&gt;Как найти и обновить вложенные или дочерние сводные таблицы родительской сводной таблицы&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;В следующем примере кода загружается &lt;a href=&#34;61767747.xlsx&#34;&gt;образец файла Excel&lt;/a&gt;, который содержит три сводные таблицы. Нижние две сводные таблицы являются детьми вышеприведенной сводной таблицы, как показано на этом скриншоте. Код находит дочернюю сводную таблицу с помощью метода &lt;a href=&#34;https://reference.aspose.com/cells/nodejs-cpp/pivottable/#getChildren--&#34;&gt;&lt;strong&gt;PivotTable.getChildren()&lt;/strong&gt;&lt;/a&gt;, а затем поочередно обновляет их.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;find-and-refresh-the-nested-or-children-pivot-tables-of-parent-pivot-table_1.png&#34; alt=&#34;todo:image_alt_text&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;образец-кода&#34;&gt;&lt;strong&gt;Образец кода&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-cells-gists/c7b55cbeb75eaaae989115230a7619eb.js?file=PivotTables-FindAndRefreshNestedOrChildrenPivotTables.js&#34;&gt;&lt;/script&gt;

&lt;button class=&#34;floating-button&#34; id=&#34;openModalBtn&#34;&gt;AI Document Assistant&lt;/button&gt;

&lt;div class=&#34;modal&#34; id=&#34;modal&#34;&gt;
    &lt;button class=&#34;close-btn&#34; id=&#34;closeModalBtn&#34;&gt;Close&lt;/button&gt;
    &lt;iframe src=&#34;https://products.aspose.ai/cells/chat/document/nodejs-cpp?source=docs&#34; frameborder=&#34;0&#34; width=&#34;100%&#34; height=&#34;100%&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;style&gt;
    .floating-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #007bff;
        color: white;
        border: none;
        padding: 15px 20px;
        border-radius: 50px;
        cursor: pointer;
        font-size: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .modal {
        display: none;
        position: fixed;
        top: 10%;
        left: 10%;
        width: 80%;
        height: 80%;
        background-color: white;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        padding: 20px;
        box-sizing: border-box;
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #f44336;
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 16px;
        border-radius: 3px;
    }
&lt;/style&gt;

&lt;script&gt;
    const openModalBtn = document.getElementById(&#39;openModalBtn&#39;);
    const closeModalBtn = document.getElementById(&#39;closeModalBtn&#39;);
    const modal = document.getElementById(&#39;modal&#39;);

    openModalBtn.addEventListener(&#39;click&#39;, function() {
        modal.style.display = &#39;block&#39;;
    });

    closeModalBtn.addEventListener(&#39;click&#39;, function() {
        modal.style.display = &#39;none&#39;;
    });

    window.addEventListener(&#39;click&#39;, function(event) {
        if (event.target === modal) {
            modal.style.display = &#39;none&#39;;
        }
    });
&lt;/script&gt;
&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Nodejscpp: Получить дату обновления сводной таблицы и информацию о том, кем она обновлялась</title>
      <link>https://docs.aspose.com/cells/ru/nodejs-cpp/get-pivot-table-refresh-date-and-refresh-by-who-information/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://docs.aspose.com/cells/ru/nodejs-cpp/get-pivot-table-refresh-date-and-refresh-by-who-information/</guid>
      <description>
        
        
        

&lt;div class=&#34;alert alert-primary&#34; role=&#34;alert&#34;&gt;

Aspose.Cells for Node.js via C++ теперь поддерживает получение информации о дате обновления и пользователе, выполнившем обновление, посредством извлечения данных из рабочей книги.
&lt;/div&gt;

&lt;h2 id=&#34;как-получить-дату-обновления-сводной-таблицы-и-информацию-о-том-кем-было-выполнено-обновление&#34;&gt;&lt;strong&gt;Как получить дату обновления сводной таблицы и информацию о том, кем было выполнено обновление&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://reference.aspose.com/cells/nodejs-cpp/pivottable/#getRefreshDate--&#34;&gt;&lt;strong&gt;PivotTable.getRefreshDate()&lt;/strong&gt;&lt;/a&gt; возвращает дату последнего обновления сводного отчета. Аналогично свойство &lt;a href=&#34;https://reference.aspose.com/cells/nodejs-cpp/pivottable/#getRefreshedByWho--&#34;&gt;&lt;strong&gt;PivotTable.getRefreshedByWho()&lt;/strong&gt;&lt;/a&gt; возвращает имя пользователя, который последний раз обновлял отчет. Приведенный ниже пример демонстрирует эту функцию, и образец файла можно загрузить по следующей ссылке.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;77496335.xlsx&#34;&gt;SourcePivotTable.xlsx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Пример кода&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;script type=&#34;application/javascript&#34; src=&#34;https://gist.github.com/aspose-cells-gists/c7b55cbeb75eaaae989115230a7619eb.js?file=PivotTables-GetPivotTableRefreshDate-1.js&#34;&gt;&lt;/script&gt;

&lt;button class=&#34;floating-button&#34; id=&#34;openModalBtn&#34;&gt;AI Document Assistant&lt;/button&gt;

&lt;div class=&#34;modal&#34; id=&#34;modal&#34;&gt;
    &lt;button class=&#34;close-btn&#34; id=&#34;closeModalBtn&#34;&gt;Close&lt;/button&gt;
    &lt;iframe src=&#34;https://products.aspose.ai/cells/chat/document/nodejs-cpp?source=docs&#34; frameborder=&#34;0&#34; width=&#34;100%&#34; height=&#34;100%&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;style&gt;
    .floating-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #007bff;
        color: white;
        border: none;
        padding: 15px 20px;
        border-radius: 50px;
        cursor: pointer;
        font-size: 16px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .modal {
        display: none;
        position: fixed;
        top: 10%;
        left: 10%;
        width: 80%;
        height: 80%;
        background-color: white;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        padding: 20px;
        box-sizing: border-box;
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #f44336;
        color: white;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 16px;
        border-radius: 3px;
    }
&lt;/style&gt;

&lt;script&gt;
    const openModalBtn = document.getElementById(&#39;openModalBtn&#39;);
    const closeModalBtn = document.getElementById(&#39;closeModalBtn&#39;);
    const modal = document.getElementById(&#39;modal&#39;);

    openModalBtn.addEventListener(&#39;click&#39;, function() {
        modal.style.display = &#39;block&#39;;
    });

    closeModalBtn.addEventListener(&#39;click&#39;, function() {
        modal.style.display = &#39;none&#39;;
    });

    window.addEventListener(&#39;click&#39;, function(event) {
        if (event.target === modal) {
            modal.style.display = &#39;none&#39;;
        }
    });
&lt;/script&gt;
&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
