Creditor purchase - batch sorting
Posted: Mon Apr 03, 2017 10:48 am
Hi guys,
Happy Monday!
I've had a simple request, as part of a larger project, to provide sorting on the columns in the batch grid on the creditor purchases page. Enabling this functionality appeared easy ...
But it doesn't have any affect. I've poked around and cannot find the alternate attribute that I should be manipulating. Any ideas?
Cheers,
Neil.
Happy Monday!
I've had a simple request, as part of a larger project, to provide sorting on the columns in the batch grid on the creditor purchases page. Enabling this functionality appeared easy ...
- Code: Select all
public void Setup(IJiwaForm jiwaForm, Plugin plugin)
{
if (!(jiwaForm is CreditorPurchases)) return;
_form = (CreditorPurchases)jiwaForm;
_form.grdLines.AllowSorting = true;
}
But it doesn't have any affect. I've poked around and cannot find the alternate attribute that I should be manipulating. Any ideas?
Cheers,
Neil.