Limit Rows

Limit Rows

JeanCodesJeanCodes Posts: 1Questions: 0Answers: 0

Hi,

I would like to know if there is an option to limit the rows of output. I can use iDisplayLength or PageLength to Limit the rows per page, but I want an option that can limit the rows per table as a whole. The Take() comes in too late

Replies

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin

    I'm not entirely sure at what point in the code we are discussing here. Take() is a C# method, so that will happen on the server-side, before the data has been loaded into the DataTable.

    Could to elaborate a little more on what you need to do please?

    Thanks,
    Allan

This discussion has been closed.