<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Комментарии на: ExtJS добавление в каждую строку Ext.grid функциональной кнопки</title>
	<atom:link href="http://xo66ut.ru/archives/242/feed" rel="self" type="application/rss+xml" />
	<link>http://xo66ut.ru/archives/242</link>
	<description>PHP, MySQL, Javascript, JQuery, ExtJS, UML, и другие интернетости...…</description>
	<lastBuildDate>Mon, 02 Apr 2012 06:12:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>От: Xo66uT</title>
		<link>http://xo66ut.ru/archives/242/comment-page-1#comment-987</link>
		<dc:creator>Xo66uT</dc:creator>
		<pubDate>Tue, 27 Dec 2011 09:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://xo66ut.ru/?p=242#comment-987</guid>
		<description>В посте описывается решение для ExtJS 3-й версии.</description>
		<content:encoded><![CDATA[<p>В посте описывается решение для ExtJS 3-й версии.</p>
]]></content:encoded>
	</item>
	<item>
		<title>От: Андрей</title>
		<link>http://xo66ut.ru/archives/242/comment-page-1#comment-986</link>
		<dc:creator>Андрей</dc:creator>
		<pubDate>Tue, 27 Dec 2011 06:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://xo66ut.ru/?p=242#comment-986</guid>
		<description>Правильнее
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.column.Action</description>
		<content:encoded><![CDATA[<p>Правильнее<br />
<a href="http://docs.sencha.com/ext-js/4-0/#" rel="nofollow">http://docs.sencha.com/ext-js/4-0/#</a>!/api/Ext.grid.column.Action</p>
]]></content:encoded>
	</item>
	<item>
		<title>От: kosmom</title>
		<link>http://xo66ut.ru/archives/242/comment-page-1#comment-718</link>
		<dc:creator>kosmom</dc:creator>
		<pubDate>Mon, 20 Sep 2010 13:47:56 +0000</pubDate>
		<guid isPermaLink="false">http://xo66ut.ru/?p=242#comment-718</guid>
		<description>не прописалась
Внутри первой функции
function cover_button(val){
		return  &#039;(открывие тега)img border=&quot;0&quot; title=&quot;Редактировать&quot; onclick=&quot;edit_string(&#039;+val+&#039;);&quot; src=&quot;images/b_edit.gif&quot;(закрытие тега)&#039;;
}</description>
		<content:encoded><![CDATA[<p>не прописалась<br />
Внутри первой функции<br />
function cover_button(val){<br />
		return  &#8216;(открывие тега)img border=&#8221;0&#8243; title=&#8221;Редактировать&#8221; onclick=&#8221;edit_string(&#8216;+val+&#8217;);&#8221; src=&#8221;images/b_edit.gif&#8221;(закрытие тега)&#8217;;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>От: Kosmom</title>
		<link>http://xo66ut.ru/archives/242/comment-page-1#comment-717</link>
		<dc:creator>Kosmom</dc:creator>
		<pubDate>Mon, 20 Sep 2010 13:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://xo66ut.ru/?p=242#comment-717</guid>
		<description>Можно же решить задачу проще
Создаем функцию
function cover_button(val){
	return &#039;&#039;;
}
Создаем функцию которая будет создавать окно
function edit_string(val){
	new Ext.Window(...);
}
Привязываем первую функцию как рендер одного из полей
new Ext.grid.GridPanel({
	columns: [
	{header: &quot;Опции&quot;, dataIndex: &#039;ID&#039;,renderer: cover_button},
	{header: &quot;ID&quot;, dataIndex: &#039;ID&#039;}]
...
});
При отображении грида - будет прорисовываться картинка с событием вызова окна</description>
		<content:encoded><![CDATA[<p>Можно же решить задачу проще<br />
Создаем функцию<br />
function cover_button(val){<br />
	return &#8221;;<br />
}<br />
Создаем функцию которая будет создавать окно<br />
function edit_string(val){<br />
	new Ext.Window(&#8230;);<br />
}<br />
Привязываем первую функцию как рендер одного из полей<br />
new Ext.grid.GridPanel({<br />
	columns: [<br />
	{header: "Опции", dataIndex: 'ID',renderer: cover_button},<br />
	{header: "ID", dataIndex: 'ID'}]<br />
&#8230;<br />
});<br />
При отображении грида &#8211; будет прорисовываться картинка с событием вызова окна</p>
]]></content:encoded>
	</item>
</channel>
</rss>

