Look like you missing to update your datatable. So the value is inside the bean but not display.
<h:form id="form">
<h:panelGrid columns="2">
<h:outputText value="ID:"/>
<p:inputText value="#{Kereses.id}" required="true" maxlength="20"/>
<p:commandButton id="addCategoryButton" value="Kereses" onclick="categoryDialog.show();" action="#{Kereses.selectTesztTable}" update=":form:data"/>
</h:panelGrid>
...
<p:dataTable id="data" value="#{Kereses.values}" var="c" styleClass="order-table" scrollable="true" scrollWidth="1500" scrollHeight="550">
<p:column style="width: 130px; text-align: center">
<f:facet name="header">OM kód:</f:facet>
<h:outputText value="#{c.omkod}" style="width: 130px; text-align: center"/>
</p:column>
</p:dataTable>
</h:form>