Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Pager displaying before Table module with a Button to show results

$
0
0

I have a panel that displays a count of results, but in order to save space, I included a button to display the results in the table when clicked.

This currently works fine, but if I have enough results that the Pager will display, it shows up before I click the button.

Is it possible to have the Pager display after the button click like with the table?

<module name="Button" layoutPanel="panel_row2_col1">
        <param name="label">Show Assets</param>
        <param name="allowSoftSubmit">False</param> 
        <param name="allowAutoSubmit">False</param>
        <module name="PostProcess" layoutPanel="panel_row2_col1">
            <param name="search">eval View="PLACEHOLDER" | eval WindowStart=strftime(_time-86400,"%Y/%m/%d") | eval earliest=strptime(WindowStart, "%Y/%m/%d") | eval WindowEnd=strftime(_time+432000,"%Y/%m/%d") | eval latest=strptime(WindowEnd, "%Y/%m/%d") | table _time, host, Id, WindowStart, WindowEnd,earliest,latest, View</param>
            <module name="Pager" layoutPanel="panel_row2_col1">
                <module name="Table" layoutPanel="panel_row2_col1">
                    <param name="hiddenFields">WindowStart WindowEnd earliest latest</param>
                    <module name="Button" group="row.fields.View">
                        <param name="allowSoftSubmit">False</param>
                        <param name="allowAutoSubmit">False</param>
                        <param name="label">View</param>
                        <module name="Redirector">
                            <param name="url">Lookup-Id</param>
                            <param name="arg.id">$row.fields.Id$</param>
                            <param name="arg.WindowStart">$row.fields.WindowStart$</param>
                            <param name="arg.WindowEnd">$row.fields.WindowEnd$</param>
                        </module>
                    </module>
                </module>
            </module>
        </module>
    </module>
    


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>